6 # include <vcl_msvc_warnings.h> 39 assert(new_dimension->compatible_unit(new_unit));
62 assert(new_dimension->compatible_unit(new_unit));
75 assert(
dimension()->compatible_unit(new_unit));
vcsl_axis()
Default constructor. Axis with length in meters and an empty label.
void set_unit(vcsl_unit_sptr const &new_unit)
Set the unit of the dimension.
vcsl_unit_sptr unit_
Unit of the dimension.
vcsl_dimension_sptr dimension_
Dimension.
Standard unit associated to the length dimension.
static vcsl_length_sptr instance()
Return the reference to the unique vcsl_length object.
void set_dimension(vcsl_dimension_sptr const &new_dimension)
Set the dimension. The unit is set with the standard unit.
Axis descriptor: a dimension, a unit, a label.
void set_dimension_and_unit(vcsl_dimension_sptr const &new_dimension, vcsl_unit_sptr const &new_unit)
Set the dimension and the unit.
static vcsl_meter_sptr instance()
Return the reference to the unique vcsl_meter object.
vcsl_dimension_sptr dimension() const
Return the dimension.