BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

Use of GEOMETRY:: PGPolyPositionExt();

Anonymous
Not applicable
Hi,

I want to use function

GEOMETRY_DLL_EXPORT GSErr GEOM_CALL PGPolyPositionExt ( const PGPOLYEXT* polygon1,
const PGPOLYEXT* polygon2,
PGRelPolyPosExt* status);
From Polygon2DOperations.h to get the status code.

I have the 2 polygons of data type Polygon2Ddata. How can I convert Polygon2Ddata to PGPOLYEXT type?

The main idea of using PGPolyPositionExt is I have the two polygons with holes of type Polygon2Ddata I want to find the polygons intersect, same, overlap or not intersecting.

Can I use any other function, algorithm or can you please tell me how to use PGPolyPositionExt function?
0 REPLIES 0
Learn and get certified!