MKI_INTQUAD (Basic Classes) Changed in Version 2019.1 |
www.CAD6.com |
C++ Syntaxclass MKI_INTQUAD { public:
MKI_INTPOINT m_cPoint1, m_cPoint2, m_cPoint3, m_cPoint4;
MKI_INTQUAD( void );
const __int32 f_nX1, const __int32 f_nY1, const __int32 f_nX2, const __int32 f_nY2, const __int32 f_nX3, const __int32 f_nY3, const __int32 f_nX4, const __int32 f_nY4 );
const POINT& f_rPoint1, const POINT& f_rPoint2, const POINT& f_rPoint3, const POINT& f_rPoint4 );
const __int32 f_nX1, const __int32 f_nY1, const __int32 f_nX2, const __int32 f_nY2 );
MKI_INTQUAD( const RECT& f_rRect );
MKI_INTQUAD& operator =( const RECT& f_rRect );
void SetZero( void );
bool IsZero( void ) const;
bool IsNonZero( void ) const;
void Set( const __int32 f_nX1, const __int32 f_nY1, const __int32 f_nX2, const __int32 f_nY2 );
void Set( const __int32 f_nX1, const __int32 f_nY1, const __int32 f_nX2, const __int32 f_nY2, const __int32 f_nX3, const __int32 f_nY3, const __int32 f_nX4, const __int32 f_nY4 ); };
This class contains the description of a quadrangle with integer coordinates and some associated methods.
Element Descriptionm_cPoint1 [MKI_INTPOINT] First corner-point of the quadrangle. m_cPoint2 [MKI_INTPOINT] Second corner-point of the quadrangle. m_cPoint3 [MKI_INTPOINT] Third corner-point of the quadrangle. m_cPoint4 [MKI_INTPOINT] Fourth corner-point of the quadrangle.
MKD SyntaxPoint1.x,Point1.y,Point2.x,Point2.y,Point3.x,Point3.y,Point4.x,Point4.y
The data type MKI_INTQUAD is used to store a quadrangle.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH