MKI_IDENTDATA (Basic Classes) Changed in Version 2023.2

www.CAD6.com

C++ Syntax

class MKI_IDENTDATA

{

  public:

 

  MKI_POINT m_cClickPoint;

  double m_dRadius;

  __int32 m_nMode,

          m_nCount,

          m_nCurrent,

          m_nMax;

  MKI_GEO_OBJECT_PTR m_pList;

 

  MKI_IDENTDATA( void ); New in Version 2023.0

 

  void

  Init( void ); New in Version 2023.0

 

  bool

  AddSortedMKI_CONST_GEO_OBJECT_REF f_rGeoObject ); New in Version 2023.2

};

 

This structure contains information for object identification as required by plug-ins whose MKI_PlugInNotify procedure is called with the MKI_NOTIFY_EXT_IDENT mode.

 

Element Description

m_cClickPoint

[MKI_POINT] Coordinates of the point that the user clicked with the mouse in internal [mm]. Do not modify!

m_dRadius

[double] Identification radius in internal [mm] around m_cClickPoint. Only objects within this circular area will be used. Do not modify!

m_nMode

[__int32] Identification mode valid for this operation (see MKI_IDENTMODE_*).

m_nCount

[__int32] Number of elements that the plug-in stored in m_pList. This value must be increased by the called plug-in as it adds new entries to m_pList. It is initialized with the current number of elements (i.e. it may not be zero).

m_nCurrent New in Version 2023.2

[__int32] Index of element that is currently "selected" for display or handling. Do not modify!

m_nMax

[__int32] Maximum number of elements that the plug-in may store in m_pList. Do not modify!

m_pList

[MKI_GEO_OBJECT_PTR] Address of a buffer to which the plug-in shall write the outline elements that the enumeration creates. Do not modify!

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH