Navigation: Up, Table of Contents, Bibliography, Index, Title Page

Requirements for a Polyhedron_traits

Definition

A model for the Polyhedron_traits concept must provide the following types, operations and restrictions with respect to the halfedge data structure HDS used in the polyhedral surface.

Types

Polyhedron_traits::Point
point type equal to HDS::Point, if points are supported.

Polyhedron_traits::Normal
normal vector equal to HDS::Facet::Normal, if normals are supported.

Polyhedron_traits::Plane
plane equation equal to HDS::Facet::Plane, if plane equations are supported.

Operations

void traits.reverse_normal ( Normal& n) const
reverses the orientation of the normal vector n. Only needed if normal vectors are supported.

void traits.reverse_plane ( Plane& p) const
reverses the orientation of the plane equation p. Only needed if plane equations are supported.

See Also

Polyhedron_3 and Polyhedron_default_traits_3.


Next: Class declaration of Polyhedron_default_traits_3<R>
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.