![]() |
Polygon Crucher SDK - Documentation
Documentation
|
The class defines an x, y 2D point which can use int, float or double. More...
The class defines an x, y 2D point which can use int, float or double.
TYPE | Can be int (C2DPointI), float (C2DPoint or C2DPointF) or double (C2DPointD) |
#include <2DPoint.h>
Public Member Functions | |
C2DTPoint (int refx, int refy) | |
C2DTPoint (float refx, float refy) | |
C2DTPoint (double refx, double refy) | |
virtual void | Serialize (CXArchive &ar) |
virtual CPt & | operator= (const CPt &refpoint) |
virtual void | To4DPoint (C4DPoint &pt) const |
virtual CPt & | operator= (const C4DPoint &pt) |
bool | operator== (const C2DTPoint &src) const |
![]() | |
unsigned int | GetFlags () const |
void | SetFlags (unsigned int flags) |
void | SetFlag (POINT_PROPERTIES flag, bool set) |
void | SetFlags (unsigned int flags, bool set) |
bool | IsFlagSet (POINT_PROPERTIES flag) const |
bool | IsOneFlagSet (int flag) const |
Public Attributes | |
TYPE | x |
TYPE | y |
Implements CPt.
Reimplemented from CPt.
Reimplemented from CPt.
Implements CPt.