MKI_PARSE_OBJ_ARC (Object Parser Classes) Changed in Version 2021.0

www.CAD6.com

C++ Syntax

class MKI_PARSE_OBJ_ARC

{

  public:

 

  MKI_BLOCK_POINT_PTR m_pCenter,

                      m_pRadius,

                      m_pAngle1,

                      m_pAngle2;

  __int32 m_nHandleCenter,

          m_nHandleRadius,

          m_nHandleAngle1,

          m_nHandleAngle2;

  MKI_BLOCK_DOUBLE_PTR m_pOrient;

  MKI_BLOCK_T001_PTR m_pTemp;

 

  MKI_PARSE_OBJ_ARC( MKI_CONST_ENTITY_OBJECT_PTR f_pObj );

 

  MKI_POINT_REF

  PointCenter( void );

 

  MKI_POINT_REF

  PointRadius( 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&

  ArcAngle( void );

};

 

This class is used to parse an object of type MKI_OBJ_ARC, MKI_OBJ_SECTOR, or MKI_OBJ_SEGMENT. For information about the internal data block structure of these object types, see Object 6 "Circular Arc", Object 7 "Circular Sector", or Object 8 "Circular 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 2024.2 - Copyright 2024 Malz++Kassner® GmbH