![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|

Used as a type for returning distances and possibly lengths. Care must be taken when using distance where length is meant. The distance from start to end of a curve is not the length of the curve, but represents the length of the shortest curve between these two points. Since Distance is a length of some curve (albeit a hypothetical one), the unit of measure is the same.
Public Member Functions | |
| TSLDistance () | |
| TSLDistance (const TSLDistance &right) | |
| virtual | ~TSLDistance () |
| TSLDistance & | operator= (const TSLDistance &right) |
| virtual TSLDistance * | clone () const |
| void | distanceUom (TSLMDDistanceUom &uom) |
| virtual bool | serialize (void *outputStreamOfXML, int indentation=-1, bool isRootHandler=true) const |
| const TSLMDDistanceUom & | distanceUom () const |
Public Member Functions inherited from TSLLength | |
| TSLLength () | |
| TSLLength (const TSLLength &right) | |
| virtual | ~TSLLength () |
| TSLLength & | operator= (const TSLLength &right) |
| const TSLUomLength & | uom () const |
| void | uom (const TSLUomLength &input) |
| TSLUomLength & | uom () |
Public Member Functions inherited from TSLMeasure | |
| TSLMeasure () | |
| TSLMeasure (const TSLMeasure &right) | |
| virtual | ~TSLMeasure () |
| TSLMeasure & | operator= (const TSLMeasure &right) |
| void | Uom (TSLUnitOfMeasure *val, bool assumeOwnership=true) |
| double | value () const |
| void | value (double input) |
| const TSLUnitOfMeasure * | Uom () const |
| TSLUnitOfMeasure * | Uom () |
Static Public Member Functions | |
| static TSLDistance * | create () |
Static Public Member Functions inherited from TSLLength | |
| static TSLLength * | create () |
Static Public Member Functions inherited from TSLMeasure | |
| static TSLMeasure * | create () |
| TSLDistance::TSLDistance | ( | ) |
The default constructor.
| TSLDistance::TSLDistance | ( | const TSLDistance & | right | ) |
The copy constructor.
|
virtual |
The destructor.
|
virtual |
Clone method for derived or derived from classes. Creates object on the heap, so the pointer must be deleted
Reimplemented from TSLLength.
|
static |
|
inline |
Accessors for the TSLMDDistanceUom object
| void TSLDistance::distanceUom | ( | TSLMDDistanceUom & | uom | ) |
| TSLDistance & TSLDistance::operator= | ( | const TSLDistance & | right | ) |
Assignment operator.
|
virtual |
Reimplemented from TSLLength.