![]() |
MKI_QUADRATIC_BEZIER (Basic Classes) New in Version 2024.2 |
www.CAD6.com |
C++ Syntaxclass MKI_QUADRATIC_BEZIER { public:
MKI_POINT m_cPoint0, m_cPoint1, m_cPoint2; double m_dT1, m_dT2;
MKI_QUADRATIC_BEZIER( void ){};
MKI_QUADRATIC_BEZIER( const MKI_QUADRATIC_BEZIER* f_pThis );
const double f_dX1, const double f_dY1, const double f_dX2, const double f_dY2, const double f_dX3, const double f_dY3 );
const MKI_POINT& f_rPoint1, const MKI_POINT& f_rPoint2, const MKI_POINT& f_rPoint3 );
void GetDerivative( MKI_LINE& f_rResult ) const;
void GetExtremities( MKI_POINT& f_rResult ) const; };
This class contains the description of a quadratic Bézier curve and some associated methods.
Element Descriptionm_cPoint0 [MKI_POINT] Start-point of the quadratic Bézier curve. m_cPoint1 [MKI_POINT] Pivot point of the quadratic Bézier curve. m_cPoint2 [MKI_POINT] End-point of the quadratic Bézier curve. m_dT1 m_dT2 [double] Relative positions of the start-point and end-point of the Bézier curve relative to another Bézier curve. Unless this Bézier curve was created by splitting another curve, these values should be set to (0.0, 1.0).
MKD SyntaxUnused.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH