MKI_ELLIPSEARC (Basic Classes) New in Version 2010.1

www.CAD6.com

C++ Syntax

class MKI_ELLIPSEARC

{

  public:

 

  MKI_POINT m_cCenter,

            m_cPoint1,

            m_cPoint2;

  MKI_VECTOR m_cVector;

  double m_dAngle1,

         m_dAngle2;

 

  MKI_ELLIPSEARC( void );

 

  MKI_ELLIPSEARC(

 const MKI_ELLIPSEARC* f_pThis )

 

  MKI_ELLIPSEARC(

 const MKI_POINT& f_rCenter,

 const MKI_POINT& f_rPoint1,

 const MKI_POINT& f_rPoint2,

 const double f_dSizeX,

 const double f_dSizeY,

 const double f_dAngle1,

 const double f_dAngle2 );

 

  void

  Init( void );

 

  void

  SplitCenter(

 MKI_ELLIPSEARC& f_rResult1,

 MKI_ELLIPSEARC& f_rResult2 ) const;

};

 

This class contains the description of an orthogonal elliptical arc segment, i.e. part of an elliptical arc with orthogonal vectors that does not cross a quadrant border.

 

Element Description

m_cCenter

[MKI_POINT] Center-point of the elliptical arc.

m_cPoint1

[MKI_POINT] Start-point of the elliptical arc.

m_cPoint2

[MKI_POINT] End-point of the elliptical arc.

m_cVector

[MKI_VECTOR] Lengths of the two orthogonal vectors.

m_dAngle1

m_dAngle2

[double] Absolute starting and ending angle of the elliptical arc with m_dAngle1 <= m_dAngle2.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH