|
|
| PointF (float X_, float Y_) |
| |
|
| PointF (const PDPointF &that) |
| |
|
| PointF (const PDPointI &pointi) |
| |
|
PointI | Round () const |
| |
|
PointI | Floor () const |
| |
|
PointI | Ceil () const |
| |
|
bool | Equals (const PointF &that) const |
| |
|
bool | operator== (const PointF &that) const |
| |
|
bool | operator!= (const PointF &that) const |
| |
|
PointF | operator- () const |
| |
|
void | Offset (float dx, float dy) |
| |
|
void | Mul (float num) |
| |
|
void | Div (float num) |
| |
|
PointF & | operator+= (const PointF &that) |
| |
|
PointF & | operator-= (const PointF &that) |
| |
|
PointF & | operator*= (float num) |
| |
|
PointF & | operator/= (float num) |
| |
|
PointF | operator+ (const PointF &that) const |
| |
|
PointF | operator- (const PointF &that) const |
| |
|
PointF | operator* (float num) const |
| |
|
PointF | operator/ (float num) const |
| |
|
float | DistanceToEdge (const PointF &a, const PointF &b) const |
| |
|
float | VectorMagnitudeSquared () const |
| |
|
float | VectorMagnitude () const |
| |
| float | TestSide (const PointF &a, const PointF &b) const |
| | Test which side of the line AB this point lies.
|
| |
|
PointF & | VectorNormalize () |
| |
◆ TestSide()
| float PDF::PointF::TestSide |
( |
const PointF & | a, |
|
|
const PointF & | b ) const |
|
inline |
Test which side of the line AB this point lies.
- Returns
- A value greater then 0 if this lies to the left of AB. A value less then 0 if this lies to the right of AB. 0 if this lies on AB.
The documentation for this struct was generated from the following file: