|
| def | cloneAddInfoFullLayout (self) |
| |
| def | cloneAddInfoView (self, arg1, arg2) |
| | possible calls: More...
|
| |
| def | eraseLayout (self, arg1) |
| |
| def | faces (self) |
| | iterate over all faces More...
|
| |
| def | getAddInfo (self) |
| |
| def | getArea (self) |
| |
| def | getAsDoubleByView (self, arg1, arg2, arg3) |
| |
| def | getMaxDepth (self, ignorDegeneratedFaces=False) |
| | returns the maximum hierarchy depth for this poylgon More...
|
| |
| def | getPointAddInfoStatistics (self) |
| |
| def | hasInfo (self) |
| |
| def | info (self) |
| |
| def | isEmpty (self) |
| |
| def | parts (self) |
| | iterate over all level 0-parts More...
|
| |
| def | points (self) |
| | iterate over all points More...
|
| |
| def | restoreAddInfoFullLayout (self) |
| |
| def | setAddInfo (self, arg1) |
| |
| def | setAddInfoView (self, arg1, arg2) |
| |
| def | sizeFace (self) |
| |
| def | sizePart (self) |
| |
| def | sizePoint (self) |
| |
| def | type (self) |
| |
| def | getScopSemantic (self) |
| |
| def | setScopSemantic (self, arg1) |
| |
interface to a 2.5d polygon of arbitrary complexity
The DM polygon object can handle arbitrary nested polygons (often called multi part polygons). The implementation is based on the CGAL nef polygons, a 2d polyhedron representation. Hence, positive regions (=part of the polygon) may contain an arbitrary number of negative regions (=not part of the polygon. also called holes) contains positive regions again and so on defining a hierarchy (=levels of polygons) Additionally the number of level 0 polygons (top level hierarchy) is not limited.
Such polygon objects can only be constructed by a corresponding polygon factory object. However, it has to be considered that there are some prerequisites regarding the topological correctness of the input data. see the IPolylineFactory for details
The polygon object is structured in a hierarchy and can be traversed with the corresponding part iterators. To identify positive and negative region use the IFace::positveFace member function of the corresponding part object. The part object has no nested parts if the IPart::sizePart retruns zero or the distance of the part iterators is empty.
For accessing the points of part object use the corresponding point iterator functions. Note that points of positive regions are sorted counterclockwise and points of negative regions clockwise.
For listing all polygon points in a non-hierarchical manner use the point iterator function of the polygon object itself