Represents the basic 2D topological entity with 2d geometry (region) More...
Go to the source code of this file.
Classes | |
class | vtol_face_2d |
Represents the basic 2D topological entity with 2d geometry (region)
The vtol_face_2d class is used to represent a topological face. A vtol_face_2d maintains a pointer to the region which describes the mathematical geometry of the face. The connectivity between faces may be obtained from the superior 2-chains of the face. The boundary of the face may be obtained from the inferior 1-chains of the face.
Modifications: JLM Dec 1995: Added timeStamp (Touch) to operations which affect bounds. JLM Dec 1995: Added method for ComputeBoundingBox (Need to decide proper policy for curved surfaces and possibly inconsistent planar surface geometry) JSL Computed Area() JLM Sep 1996: Fixed the face copy constructor which did not handle the construction of new vtol_edge_2d(s) properly. The old implementation always constructed ImplicitLine(s) for the curve of each new edge. See vtol_edge_2d.h for the required alterations of the vtol_edge_2d constructors. There is still an issue with proper copying of the vtol_face_2d's Surface. It isn't done correctly. PVR Aug 97: is_within_projection() implementation restored. AWF Jul 1998: General topology speedup by replacing calls to vertices() et al with iterators. Benchmark: constructing 40K triangles, old: 37 sec, new: 9 sec. PTU may-2000 ported to vxl Dec. 2002, Peter Vanroose -interface change: vtol objects -> smart pointers 9 Jan. 2003, Peter Vanroose - added "copy_geometry()"
Definition in file vtol_face_2d.h.