![]() |
GeometryVersion: 1.0 |
Datastructure-independent 3D Polygon functionsThese functions work on any data-structures with callback functions (nowadays called: iterators). It gives you a big freedom to choose the appropriate data-storage format for your special needs, but you must provide these callbacks (iterators) for working. What you should provide a general description of a polygon: number of contours and vertices, orientation, etc. And a callback function like a constant random iterator to polygon segments called here as edges. Each polygon segment consist of a vertex and an edge starting from it according to the orientation. Each segment should mark that it is an end of a contour or not. So there are no separate contour structure.
These structures describe callback polygon. Geometry::PG3DEDGEEXTGeometry::PG3DPOLYEXT Geometry::PGPoly3DPosition These functions work on callback polygons. Geometry::PG3DPolyPositionExtGeometry::PG3DSplitPolyExt See AlsoGeometry, 2D Polygon Operations |
|
|
Copyright © 2006 - Graphisoft R&D Zrt. All rights reserved worldwide. Built on June 21, 2000 |