![]() |
MKI_CalcEntityDistance (Calculation) Changed in Version 2015.0 |
www.CAD6.com |
C++ Syntaxbool MKI_CalcEntityDistance( MKI_CONST_ENTITY_PTR f_pEntity, MKI_CONST_POINT_REF f_rPoint, double& f_rResult );
Calculates the distance between the entity pointed to by Entity and the given point.
ParametersEntity [MKI_CONST_ENTITY_PTR] Address of the entity to which the distance is to be calculated. Point [MKI_CONST_POINT_REF] Coordinates of the reference point in internal [mm] (relative to the page center, scale-independent). Result [double&] Address of a double to receive the calculated distance in [mm].
Return ValueReturns true if successful. If false is returned, Result is invalid.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH