|
MKI_INTVECTOR (Basic Classes) Changed in Version 2019.1 |
www.CAD6.com |
|
This class contains the description of a 2D vector with integer coordinates.
C++ Syntaxclass MKI_INTVECTOR : public SIZE { public:
MKI_INTVECTOR( void );
const __int32 f_nX, const __int32 f_nY );
MKI_INTVECTOR& const POINT& f_rPoint );
MKI_INTVECTOR& const SIZE& f_rSize );
bool const MKI_INTVECTOR& f_rVector ) const;
bool const MKI_INTVECTOR& f_rVector ) 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 Set( const POINT& f_rPoint );
void Add( const __int32 f_nX, const __int32 f_nY );
void Add( const SIZE& f_rVector );
void const SIZE& f_rVector1, const SIZE& f_rVector2 );
void Sub( const __int32 f_nX, const __int32 f_nY );
void Sub( const SIZE& f_rVector );
void const SIZE& f_rVector1, const SIZE& f_rVector2 );
void const POINT& f_rPoint1, const POINT& f_rPoint2 ); };
Element Descriptioncx cy [double] X- and Y-component of the vector. The element are in [mm].
MKD Syntaxcx,cy
The data type MKI_INTVECTOR is used to store the components of a vector. Each MKI_INTVECTOR consists of a X- and a Y-component.
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH