#include <mi32/point.h>
Inheritance diagram for DPOINT2D:

Public Member Functions | |
| CHECKSIZE (16) | |
| DPOINT2D (const DPOINT2D_OLD &pt) | |
| DPOINT2D (const FPOINT2D &pt) | |
| DPOINT2D (const LPOINT2D &pt) | |
| DPOINT2D (const WPOINT2D &pt) | |
| DPOINT2D (const double dx, const double dy) | |
| DPOINT2D () | |
| double | GetAngle () const |
| double | GetAngle (const DPOINT2D &pt) const |
| double | GetDistance () const |
| double | GetDistance (const DPOINT2D &pt) const |
| double | GetDistanceSquared (const DPOINT2D &pt) const |
| double | GetOrdinate (int index) const |
| DPOINT2D | operator * (const double rhs) const |
| DPOINT2D | operator *= (const double rhs) |
| DPOINT2D | operator+ (const DPOINT2D &rhs) const |
| DPOINT2D | operator+= (const DPOINT2D &rhs) |
| DPOINT2D | operator- (const DPOINT2D &rhs) const |
| DPOINT2D | operator- () |
| DPOINT2D | operator-= (const DPOINT2D &rhs) |
| DPOINT2D | operator/ (const double rhs) const |
| DPOINT2D | operator/= (const double rhs) |
| DPOINT2D & | operator= (const DPOINT2D_OLD &rhs) |
| DPOINT2D & | operator= (const FPOINT2D &rhs) |
| DPOINT2D & | operator= (const LPOINT2D &rhs) |
| DPOINT2D & | operator= (const WPOINT2D &rhs) |
| LPOINT2D | RoundToLong () const |
| void | SetOrdinate (int index, double value) |
| void | Shift (const double xval, const double yval) |
| void | Shift (const DPOINT2D &value) |
| void | SwapBytes () |
| LPOINT2D | TruncateToLong () const |
Public Attributes | |
| double | x |
| double | y |
Definition at line 752 of file point.h.
|
|
Default constructor.
|
|
||||||||||||
|
Initialization from separate x and y values.
|
|
|
Construction from WPOINT2D.
|
|
|
Construction from LPOINT2D.
|
|
|
Construction from FPOINT2D.
|
|
|
Construction from DPOINT2D_OLD.
|
|
|
Make compiler validate structure size.
|
|
|
Return angle of the segment from origin to point.
|
|
|
Return angle of the segment, 'this' is the basepoint.
|
|
|
Return distance between origin and point.
|
|
|
Return distance between two points.
|
|
|
Return squared distance between two points.
|
|
|
Get ordinate at specified index. Allows access like array of appropriate dimension (2 or 3).
|
|
|
Multiplication operator.
Reimplemented in DPOINT3D. |
|
|
Times equals operator.
Reimplemented in DPOINT3D. |
|
|
Addition operator.
|
|
|
Plus equals operator.
|
|
|
Subtraction operator.
|
|
|
Negation operator.
|
|
|
Minus equals operator.
|
|
|
Division operator.
Reimplemented in DPOINT3D. |
|
|
Divided by equals operator.
Reimplemented in DPOINT3D. |
|
|
Assignment from DPOINT2D_OLD.
|
|
|
Assignment from FPOINT2D.
|
|
|
Assignment from LPOINT2D.
|
|
|
Assignment from WPOINT2D.
|
|
|
Convert the a DPOINT2D into an LPOINT2D.
|
|
||||||||||||
|
Set ordinate at specified index. Allows access like array of appropriate dimension (2 or 3).
|
|
||||||||||||
|
Shift point by a single value.
|
|
|
Shift point using another point.
|
|
|
Perform byte-swapping.
Reimplemented in DPOINT3D. |
|
|
Convert the a DPOINT2D into an LPOINT2D.
|
|
|
|
|
|
|
1.3.8-20040913