This class represents a coordinate pair used in the drawing environment.
![]() | PPoint () Create a point object with the initial x and y values of 0. |
![]() | PPoint ( PORDINATE nx, PORDINATE ny ) Create a point object with the initial x and y values. |
![]() | PPoint ( const PDim & pt ) Create a point the specified distance from the origin. |
![]() | PPoint ( const PPoint & pt ) Create a copy of the specified point. |
![]() | Clone () const Create a new copy of the specified point. |
![]() | Compare ( const PObject & obj ) const Determine the relative rank of the point objects. |
![]() | X () const Get the the X ordinate of the point. |
![]() | Y () const Get the the Y ordinate of the point. |
![]() | SetX ( PORDINATE nx ) Set the the X ordinate of the point. |
![]() | SetY ( PORDINATE ny ) Set the the Y ordinate of the point. |
![]() | AddX ( PORDINATE dx ) Add value to the the X ordinate of the point. |
![]() | AddY ( PORDINATE dy ) Add value to the the Y ordinate of the point. |
![]() | operator+ ( const PPoint & pt ) const Calculate the cartesian sum of the points or point and dimensions. |
![]() | operator+= ( const PPoint & pt ) Calculate the cartesian sum of the points or point and dimensions. |
![]() | operator- ( const PPoint & pt ) const Calculate the cartesian difference of the points or point and dimensions. |
![]() | operator-= ( const PPoint & pt ) Calculate the cartesian difference of the points or point and dimensions. |
![]() | operator* ( const PPoint & pt ) const Calculate the cartesian product of the points or point and dimensions. |
![]() | operator*= ( const PPoint & pt ) Calculate the cartesian product of the points or point and dimensions. |
![]() | operator/ ( const PPoint & pt ) const Calculate the cartesian division of the points or point and dimensions. |
![]() | operator/= ( const PPoint & pt ) Calculate the cartesian division of the points or point and dimensions. |
![]() | InRect ( const PRect & rect ) const Determine if the point is contained within the specified rectangle. |
![]() | Overrides from class PObject |
![]() | New function for class |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
This class represents a coordinate pair used in the drawing environment. It represents a specific point in the drawing plane.
The scale parameter is applied to each ordinate equally.
The scale parameter is applied to each ordinate equally.
The scale parameter is applied to each ordinate equally.
The scale parameter is applied to each ordinate equally.
PPoint( PORDINATE nx, PORDINATE ny )
ny - New y value PPoint( const PDim & pt )
PPoint( const PPoint & pt )
Overrides from class PObject
virtual PObject* Clone() const
virtual Comparison Compare( const PObject & obj ) const
New function for class
PORDINATE X() const
PORDINATE Y() const
void SetX( PORDINATE nx )
void SetY( PORDINATE ny )
void AddX( PORDINATE dx )
void AddY( PORDINATE dy )
PPoint operator+( const PPoint & pt ) const
PPoint& operator+=( const PPoint & pt )
PPoint operator-( const PPoint & pt ) const
PPoint& operator-=( const PPoint & pt )
PPoint operator*( const PPoint & pt ) const
PPoint& operator*=( const PPoint & pt )
PPoint operator/( const PPoint & pt ) const
PPoint& operator/=( const PPoint & pt )
BOOL InRect( const PRect & rect ) const
Alphabetic index HTML hierarchy of classes or Java