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( float x, float y ); Point2D ( int x, int y ); Point2D ( float x, int y ); Point2D ( int x, float y ); float x; float y; float X( void ) const; float 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 and default values (if defined) are described below:
struct Point2D { Real X; Real Y; Real X() const { return X; }; Real Y() const { return Y; }; bool operator == ( const avl::Point2D& rhs ) const { return X == rhs.X && Y == rhs.Y; } bool operator != ( const avl::Point2D& rhs ) const { return !(operator==(rhs)); } };