bool Ilwis::Coordinate::isValid |
( |
| ) |
const |
a point is valid if both its x and y have a valid value;
- Returns
compares the coordinates of 2 points to see if they are not equal. comparision with non valid points always leads to true
- Parameters
-
- Returns
- true if the points are not at the same Coordinate.
Ilwis::Coordinate & Ilwis::Coordinate::operator*= |
( |
const std::vector< double > & |
vec | ) |
|
operator *= multiplies a point with a factor contained in the vector, shifting it in 2D space. Using undefined() values in the vector may lead to unpredictable results
- Parameters
-
a | vector with a pair of values |
- Returns
- a reference to a shifted 2D point
operator *= multipliesthe x,y values with a single factor , shifting it in 2D space. Using undefined() values may lead to unpredictable results
- Parameters
-
- Returns
- a reference to a shifted 2D point
Coordinate & Ilwis::Coordinate::operator+= |
( |
const std::vector< double > & |
vec | ) |
|
operator += addes a vector of 2 values to a point shifting it in 2D space. Using undefined() values in the vector may lead to unpredictable results
- Parameters
-
a | vector with a pair of values |
- Returns
- a reference to a shifted 2D point
operator /= divides the coordinates of a point with a fixed value. The value must not be zero. If it is zero nothing happens Using undefined() values may lead to unpredictable results
- Parameters
-
- Returns
compares the coordinates of 2 points to see if they are equal. comparision with non valid points always leads to false
- Parameters
-
- Returns
- true if the points are at the same Coordinate.
The documentation for this class was generated from the following files: