#include <cartotype_base.h>
|
int32_t | iX { 0 } |
|
int32_t | iY { 0 } |
|
A point in two-dimensional space.
◆ TPoint() [1/2]
constexpr CartoType::TPoint::TPoint |
( |
| ) |
|
|
inlineconstexprnoexcept |
Create a point with coordinates (0,0).
◆ TPoint() [2/2]
constexpr CartoType::TPoint::TPoint |
( |
int32_t |
aX, |
|
|
int32_t |
aY |
|
) |
| |
|
inlineconstexprnoexcept |
Create a point, specifying coordinates.
◆ ComparisonValue()
constexpr uint64_t CartoType::TPoint::ComparisonValue |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Return a single number which can be used to sort points into order.
◆ operator!=()
constexpr bool CartoType::TPoint::operator!= |
( |
const TPoint & |
aPoint | ) |
const |
|
inlineconstexprnoexcept |
◆ operator+=()
void CartoType::TPoint::operator+= |
( |
const TPoint & |
aPoint | ) |
|
|
inlinenoexcept |
Offset a point by another point, treated as a positive vector.
◆ operator-=()
void CartoType::TPoint::operator-= |
( |
const TPoint & |
aPoint | ) |
|
|
inlinenoexcept |
Offset a point by another point, treated as a negative vector.
◆ operator<()
constexpr bool CartoType::TPoint::operator< |
( |
const TPoint & |
aPoint | ) |
const |
|
inlineconstexprnoexcept |
The less-than operator, ordering points by x coordinate, then y coordinate.
◆ operator==()
constexpr bool CartoType::TPoint::operator== |
( |
const TPoint & |
aPoint | ) |
const |
|
inlineconstexprnoexcept |
◆ operator>()
constexpr bool CartoType::TPoint::operator> |
( |
const TPoint & |
aPoint | ) |
const |
|
inlineconstexprnoexcept |
The greater-than operator, ordering points by x coordinate, then y coordinate.
◆ iX
int32_t CartoType::TPoint::iX { 0 } |
◆ iY
int32_t CartoType::TPoint::iY { 0 } |
The documentation for this class was generated from the following file: