MKI_INTPOINT (Basic Classes) Changed in Version 2019.1 |
www.CAD6.com |
C++ Syntaxclass MKI_INTPOINT : public POINT { public:
MKI_INTPOINT( void );
MKI_INTPOINT( const __int32 f_nX, const __int32 f_nY );
MKI_INTPOINT& operator =( const SIZE& f_rVector );
MKI_INTPOINT& operator =( const POINT& f_rPoint );
bool operator ==( const MKI_INTPOINT& f_rPoint ) const;
bool operator !=( const MKI_INTPOINT& f_rPoint ) const;
void SetZero( void );
bool IsZero( void ) const;
bool IsNonZero( void ) const;
void SetInvalid( void );
bool IsValid( void ) const;
bool IsInvalid( void ) const;
void Set( const __int32 f_nX, const __int32 f_nY );
void Add( const __int32 f_nX, const __int32 f_nY );
void Add( const SIZE& f_rVector );
void const POINT& f_rPoint, const SIZE& f_rVector );
void Sub( const __int32 f_nX, const __int32 f_nY );
void Sub( const SIZE& f_rVector );
void const POINT& f_rPoint, const SIZE& f_rVector );
void const POINT& f_rPoint1, const POINT& f_rPoint2 );
void SetCenter( const RECT& f_rRect ); }
This class contains the description of a single 2D point with integer coordinates and some associated methods.
Element Descriptionx, y [int] X- and Y-Coordinate of the point. The coordinates are in units.
MKD Syntaxx,y
The data type MKI_INTPOINT is used to store the coordinates of a point. Each MKI_INTPOINT consists of a X- and a Y-coordinate.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH