Geometry::CalcPolyBound
Calculates the [horizontal] bounding box of a 2D polygon.
void CalcPolyBound ( const Box2DData* boundbox, long nCoords, const Coord* pCoords, long nArcs, const PolyArcRec* pArcs, double* rotangle );
Parameters
- boundbox
- Pointer to the boundbox to calculate.
- nCoords
- Number of the polygon Coords.
- pCoords
- Pointer to the polygon Coords.
- nArcs
- Number of the polygon arcs.
- pArcs
- Pointer to the polygon arcs.
- rotangle
- Polygon is rotated with this angle if not NULL.
Return Values
Nothing. The result is in 'boundbox'.
Requirements
- Version: 1.0 or later
- Header: CutElems.h
- Import Library: GeometryImp.lib [Win]
- Module: Geometry.dll [WIN] GeometryLib [Mac]