![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents a point in Map Units, i.e. a point in a particular coordinate system.
Public Member Functions | |
TSLMUCoord () | |
Default Constructor. | |
TSLMUCoord (double x, double y) | |
TSLMUCoord (const TSLMUCoord &other) | |
Copy Constructor. | |
~TSLMUCoord () | |
Destructor. | |
double | x () const |
Query the X coordinate of this point. | |
void | x (double xx) |
Set the X coordinate of this point. | |
double | y () const |
Query the Y coordinate of this point. | |
void | y (double yy) |
Set the Y coordinate of this point. | |
bool | operator== (const TSLMUCoord &c) const |
bool | operator!= (const TSLMUCoord &c) const |
TSLMUCoord & | operator= (const TSLMUCoord &c) |
Assignment Operator. | |
TSLMUCoord & | operator+ (const TSLMUCoord &c) |
Addition Operator. | |
TSLMUCoord & | operator- (const TSLMUCoord &c) |
Subtraction Operator. | |
TSLMUCoord & | operator* (const TSLMUCoord &c) |
Multiplication Operator (pairwise) | |
TSLMUCoord & | operator/ (const TSLMUCoord &c) |
bool | operator< (const TSLMUCoord &c) const |
bool | operator> (const TSLMUCoord &c) const |
|
inline |
Default Constructor.
|
inline |
Constructor
x | The X coordinate for this point |
y | The Y coordinate for this point |
|
inline |
Copy Constructor.
|
inline |
Destructor.
|
inline |
Inequality Operator Points are considered equal if they are within 1e-5 of each other
|
inline |
Multiplication Operator (pairwise)
|
inline |
Addition Operator.
|
inline |
Subtraction Operator.
|
inline |
Division Operator (pairwise). This class does not prevent the caller from dividing by zero
|
inline |
Less-Than operator. This is intended for use when sorting coordinate in a list. The X coordinate will take priority over the Y coordinate in this comparison.
|
inline |
Assignment Operator.
|
inline |
Equality Operator Points are considered equal if they are within 1e-5 of each other
|
inline |
Greater-Than operator. This is intended for use when sorting coordinate in a list. The X coordinate will take priority over the Y coordinate in this comparison.
|
inline |
Query the X coordinate of this point.
|
inline |
Set the X coordinate of this point.
|
inline |
Query the Y coordinate of this point.
|
inline |
Set the Y coordinate of this point.