API Documentation
Loading...
Searching...
No Matches
WGS84Unit Class Reference
Inheritance diagram for WGS84Unit:
[legend]
Collaboration diagram for WGS84Unit:
[legend]

Public Member Functions

 WGS84Unit (CoordinateProjectionManager *manager, UUID projection_id)
 
virtual ~WGS84Unit ()=default
 
virtual fltp08 convertToUnit (const fltp08 &program_space, uint01 direction) const override
 
virtual Vertex< 3, fltp08convertToUnit (const Vertex< 3, fltp08 > &program_space) const override
 
virtual Ray< 3, fltp08convertToUnit (const Ray< 3, fltp08 > &program_space) const override
 
virtual Vertex< 3, fltp08convertFromUnit (const Vertex< 3, fltp08 > &program_space) const override
 
virtual Ray< 3, fltp08convertFromUnit (const Ray< 3, fltp08 > &program_space) const override
 
virtual const TranslatedStringabbreviation (uint01 direction) const override
 
TranslatedString translatedAxisName (uint04 index) const override
 
void toString (String &s, const fltp08 &local_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const override
 
virtual fltp08 fromString (const String &unit_string, uint01 direction=X) const override
 
virtual Unitclone (const String &new_id, const TranslatedString &new_name) const override
 
virtual fltp08 epsilon (fltp08 value, uint01 direction=X) const override
 
- Public Member Functions inherited from ReferenceUnit
 ReferenceUnit (String name, TranslatedString translated_id, const Unit &reference)
 
virtual fltp08 convertFromUnit (const fltp08 &program_space, const uint01 direction=X) const override
 
virtual String convertToString (const fltp08 &program_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const override
 
virtual fltp08 convertFromString (const String &unit_string, uint01 direction=X) const override
 
virtual String getNextPreferredSeparator (const String &current_string, uint01 direction=X) const override
 
virtual String toFormula (const String &unit_string, uint01 direction=X) const override
 
virtual const UnitsubUnit (uint01 direction) const override
 
virtual Matrix< fltp08matrix () const override
 
- Public Member Functions inherited from Unit
 Unit (String name, TranslatedString translated_id)
 
virtual ~Unit ()=default
 
template<class t_angle_type >
String convertToString (const Angle< t_angle_type > &program_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const
 
template<class t_angle_type >
fltp08 convertToUnit (const Angle< t_angle_type > &program_space, uint01 direction=X) const
 
template<class t_angle_type >
Angle< t_angle_type > convertAngleFromUnit (const fltp08 &unit_space, uint01 direction=X) const
 
String toString (const fltp08 &unit_space, bool add_comma, uint04 min_decimals, uint04 max_decimals, uint04 min_digits, bool include_abv=true, uint01 direction=X) const
 
TranslatedString translatedName () const
 
bool operator== (const Unit &other) const
 
virtual Unitclone () const
 

Public Attributes

CoordinateProjectionManagerm_manager
 
UUID m_projection_id
 
- Public Attributes inherited from ReferenceUnit
const Unitreference
 
- Public Attributes inherited from Unit
const String name
 
const TranslatedString translated_id
 
TranslatedString axis_name_ids [4]
 
TranslatedString axis_abbreviations [4]
 

Additional Inherited Members

- Static Protected Member Functions inherited from Unit
static Buffer< StringOperatorSplit (const String &string)
 

Constructor & Destructor Documentation

◆ WGS84Unit()

WGS84Unit ( CoordinateProjectionManager * manager,
UUID projection_id )
inline

◆ ~WGS84Unit()

virtual ~WGS84Unit ( )
virtualdefault

Member Function Documentation

◆ abbreviation()

virtual const TranslatedString & abbreviation ( uint01 direction) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ clone()

virtual Unit * clone ( const String & new_id,
const TranslatedString & new_name ) const
inlinenodiscardoverridevirtual

Implements Unit.

◆ convertFromUnit() [1/2]

virtual Ray< 3, fltp08 > convertFromUnit ( const Ray< 3, fltp08 > & program_space) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ convertFromUnit() [2/2]

virtual Vertex< 3, fltp08 > convertFromUnit ( const Vertex< 3, fltp08 > & program_space) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ convertToUnit() [1/3]

virtual fltp08 convertToUnit ( const fltp08 & program_space,
uint01 direction ) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ convertToUnit() [2/3]

virtual Ray< 3, fltp08 > convertToUnit ( const Ray< 3, fltp08 > & program_space) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ convertToUnit() [3/3]

virtual Vertex< 3, fltp08 > convertToUnit ( const Vertex< 3, fltp08 > & program_space) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ epsilon()

virtual fltp08 epsilon ( fltp08 value,
uint01 direction = X ) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ fromString()

virtual fltp08 fromString ( const String & unit_string,
uint01 direction = X ) const
inlinenodiscardoverridevirtual

Reimplemented from ReferenceUnit.

◆ toString()

void toString ( String & s,
const fltp08 & local_space,
bool add_comma,
uint04 min_decimals,
uint04 max_decimals,
uint04 min_digits,
bool include_abv = true,
uint01 direction = X ) const
inlineoverridevirtual

Reimplemented from ReferenceUnit.

◆ translatedAxisName()

TranslatedString translatedAxisName ( uint04 index) const
inlinenodiscardoverridevirtual

Reimplemented from Unit.

Member Data Documentation

◆ m_manager

◆ m_projection_id

UUID m_projection_id

The documentation for this class was generated from the following file: