MKI_PARSE_OBJ_EARC (Object Parser Classes) Changed in Version 2021.0

www.CAD6.com

C++ Syntax

class MKI_PARSE_OBJ_EARC

{

  public:

 

  MKI_BLOCK_POINT_PTR m_pCenter,

                      m_pVector1,

                      m_pVector2;

                      m_pAngle1,

                      m_pAngle2;

  __int32 m_nHandleCenter,

          m_nHandleVector1,

          m_nHandleVector2,

          m_nHandleAngle1,

          m_nHandleAngle2;

  MKI_BLOCK_DOUBLE_PTR m_pOrient;

  MKI_BLOCK_T002_PTR m_pTemp;

 

  MKI_PARSE_OBJ_EARC( MKI_CONST_ENTITY_OBJECT_PTR f_pObj );

 

  MKI_POINT_REF

  PointCenter( void );

 

  MKI_POINT_REF

  PointVector1( void );

 

  MKI_POINT_REF

  PointVector2( void );

 

  MKI_POINT_REF

  PointAngle1( void );

 

  MKI_POINT_REF

  PointAngle2( void );

 

  double&

  Orient( void );

 

  bool

  IsOrientPositive( void ); New in Version 2021.0

 

  bool

  IsOrientNegative( void ); New in Version 2021.0

 

  double&

  StartAngle( void );

 

  double&

  ArcAngle( void );

};

 

This class is used to parse an object of type MKI_OBJ_EARC, MKI_OBJ_ESECTOR, or MKI_OBJ_ESEGMENT. For information about the internal data block structure of these object types, see Object 16 "Elliptical Arc", Object 17 "Elliptical Sector", or Object 18 "Elliptical Segment".

 

This parser only works if the object is complete, i.e. already contains all necessary data blocks with correct size information! For performance reasons, there is no internal testing whatsoever. All point and outline attributes in between are skipped.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH