![]() |
MKI_LINE (Basic Classes) Changed in Version 2025.0 |
www.CAD6.com |
C++ Syntaxclass MKI_LINE { public:
MKI_POINT p1, p2;
MKI_LINE( void );
MKI_LINE( const MKI_LINE* f_pThis );
const double f_dX1, const double f_dY1, const double f_dX2, const double f_dY2 );
const MKI_POINT& f_rPoint1, const MKI_POINT& f_rPoint2 );
void SetZero( void );
bool IsZero( void ) const;
bool IsNonZero( void ) const;
void Set( const double f_dX1, const double f_dY1, const double f_dX2, const double f_dY2 );
void Set( const MKI_POINT& f_rPoint1, const MKI_POINT& f_rPoint2 );
void Set( const MKI_POINT& f_rPoint, const MKI_VECTOR& f_rVector );
bool const MKI_INTRECT& f_rRect ); New in Version 2025.0
bool const MKI_RECT& f_rRect ); New in Version 2025.0
bool const MKI_INTRECT& f_rRect ); New in Version 2025.0
bool const MKI_RECT& f_rRect ); New in Version 2025.0
bool const MKI_INTRECT& f_rRect ); New in Version 2025.0
bool const MKI_RECT& f_rRect ); New in Version 2025.0 };
This class contains the description of a line segment and some associated methods.
Element Descriptionp1 [MKI_POINT] Start-point of the line segment. p2 [MKI_POINT] End-point of the line segment.
MKD Syntaxp1.x,p1.y,p2.x,p2.y
The data type MKI_LINE is used to store a line segment, a beam, or an endless line.
|
CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH