vcsl_spherical.cxx
Go to the documentation of this file.
1 // This is core/vcsl/vcsl_spherical.cxx
2 #include "vcsl_spherical.h"
3 #include <vcsl/vcsl_axis.h>
4 #include <vcsl/vcsl_angle.h>
5 
6 //---------------------------------------------------------------------------
7 // Default constructor.
8 //---------------------------------------------------------------------------
10 {
12  axes_.push_back(a);
13  a=new vcsl_axis(vcsl_angle::instance().ptr());
14  axes_.push_back(a);
15  a=new vcsl_axis(vcsl_angle::instance().ptr());
16  axes_.push_back(a);
17 }
Angle dimension.
Axis descriptor: a dimension, a unit, a label.
Axis descriptor: a dimension, a unit, a label.
Definition: vcsl_axis.h:25
static vcsl_angle_sptr instance()
Return the reference to the unique vcsl_angle object.
Definition: vcsl_angle.cxx:21
3D spherical coordinate system
std::vector< vcsl_axis_sptr > axes_
List of axes.