class csPolygonInt This class indicates what methods a class should use in order to be a 'polygon'
This class indicates what methods a class should use in order to be a 'polygon'. It acts as an 'interface' in JAVA terminology. There is no data in this class and no method implementations.The BSP tree implementation is an example of a class that uses this csPolygonInt interface. The consequence of this is that the BSP tree can be used for several sorts of polygons (even 3D or 2D ones).
This class exports methods in three categories:
- Polygon manipulation (clone, set_parent, get_parent)
- Vertex manipulation (reset, add_vertex, finish, get_num_vertices)
- Plane functions (classify, same_plane, get_poly_plane, split_with_plane)
virtual int Classify(csPolygonInt* poly)
virtual void SplitWithPlane(csPolygonInt** front, csPolygonInt** back, csPlane& plane)
virtual bool SamePlane(csPolygonInt* p)
virtual int GetType()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de