|
MKI_POINT (Basic Classes) Changed in Version 2026.1 |
www.CAD6.com |
|
This class contains the description of a 2D point.
C++ Syntaxclass MKI_POINT { public:
double x, y;
MKI_POINT( void );
const MKI_POINT* f_pThis );
const MKI_INTPOINT& f_rPoint );
const double f_dX, const double f_dY );
const MKI_POINT& f_rPoint, const MKI_VECTOR& f_rVector );
bool const MKI_POINT& f_rPoint ) const;
bool const MKI_POINT& 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 double f_dX, const double f_dY );
void Set( const MKI_VECTOR& f_rVector );
void Add( const double f_dX, const double f_dY );
void Add( const MKI_VECTOR& f_rVector );
void Add( const double f_dFactor, const MKI_VECTOR& f_rVector );
void const MKI_POINT& f_rPoint, const MKI_VECTOR& f_rVector );
void const MKI_POINT& f_rPoint, const double f_dFactor, const MKI_VECTOR& f_rVector );
void Sub( const double f_dX, const double f_dY );
void Sub( const MKI_VECTOR& f_rVector );
void Sub( const double f_dFactor, const MKI_VECTOR& f_rVector );
void const MKI_POINT& f_rPoint, const MKI_VECTOR& f_rVector );
void const MKI_POINT& f_rPoint, const double f_dFactor, const MKI_VECTOR& f_rVector );
void const MKI_POINT& f_rPoint1, const MKI_POINT& f_rPoint2 );
void const MKI_RECT& f_rRect );
void const MKI_POINT& f_rPoint1, const MKI_POINT& f_rPoint2, const double f_dCurve );
void const MKI_MATRIX& f_rMatrix );
void const MKI_MATRIX& f_rMatrix, const MKI_POINT& f_rPoint );
void const MKI_MATRIX& f_rMatrix, const double f_dX, const double f_dY );
void const MKI_MATRIX& f_rMatrix, const MKI_POINT& f_rPoint ); New in Version 2026.1
void const MKI_MATRIX& f_rMatrix, const double f_dX, const double f_dY ); New in Version 2026.1
bool const MKI_POINT& f_rPoint, const double f_dDistance ) const;
bool const MKI_POINT& f_rPoint, const double f_dDistance ) const;
double const MKI_POINT& f_rPoint ) const;
double const double f_dX, const double f_dY ) const;
double const MKI_POINT& f_rPoint ) const;
double const double f_dX, const double f_dY ) const;
double const MKI_POINT& f_rPoint ) const;;
double& Curve( void );
double Curve( void ) const;
double& Orient( void );
double Orient( void ) const;
bool IsOrientPositive( void ) const; New in Version 2021.0
bool IsOrientNegative( void ) const; New in Version 2021.0 }
Element Descriptionx y [double] X- and Y-Coordinate of the point. The coordinates are in [mm] relative to the page center.
MKD Syntaxx,y
The data type MKI_POINT is used to store the coordinates of a point. Each MKI_POINT consists of a X- and a Y-coordinate.
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH