|
MKI_CalcPointInsidePolygon (Calculation) New in Version 2018.0 |
www.CAD6.com |
C++ Syntaxbool MKI_CalcPointInsidePolygon( MKI_CONST_POINT_PTR f_pPoints, __int32 f_nSize, MKI_CONST_POINT_REF f_rPoint );
Determines whether the given point lies inside the given polygon (point-in-polygon test).
ParametersPoints [MKI_CONST_POINT_PTR] Address of a list of polygon points in internal [mm] (relative to the internal origin, scale-independent). Size [__int32] Number of points in the polygon (at least 1). Point [MKI_CONST_POINT_REF] Coordinates of the point to be tested in internal [mm] (relative to the internal origin, scale-independent).
Return ValueReturns true if the point lies inside the polygon, or false if it lies outside.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH