Point2D
Description
Point2D represents a two-dimensional point in Cartesian system. It is also building block of Path. If integer based substitute is needed, one should use Location.
struct Point2D { Point2D(); Point2D( atl::real x, atl::real y ); Point2D ( int x, int y ); Point2D ( real x, int y ); Point2D ( int x, real y ); atl::real x; atl::real y; atl::real X( void ) const; atl::real Y( void ) const; bool operator < ( const Point2D& rhs ) const; bool operator > ( const Point2D& rhs ) const; bool operator == ( const Point2D& rhs ) const; bool operator != ( const Point2D& rhs ) const; };
Structure Fields
Type fields and default values (if defined) are described below:
Name | Type | Description |
---|---|---|
X | Real | |
Y | Real |