cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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