CGAL 6.1 - 3D Polyhedral Surface

Loading...
Searching...
No Matches
List of all members
PolyhedronTraits_3 Concept Reference
Reference Manual » Concepts

## Definition

Required types and member functions for the `PolyhedronTraits_3` concept. This geometric traits concept is used in the polyhedral surface data structure `CGAL::Polyhedron_3<Traits>`. Any CGAL kernel is a model of this concept and can be used directly as template argument.

Refines
  `CopyConstructible`
  `Assignable`

Has models
  All models of the `Kernel` concept, e.g. `CGAL::Simple_cartesian<FieldNumberType>`
  `CGAL::Polyhedron_traits_3<Kernel>`
  `CGAL::Polyhedron_traits_with_normals_3<Kernel>`

See also
  `CGAL::Polyhedron_3<Traits>`

## Types
typedef unspecified_type | Point_3
| point type.
typedef unspecified_type | Plane_3
| plane equation.
typedef unspecified_type | Construct_opposite_plane_3
| is an unary function object that reverses the plane orientation.

## Creation
| PolyhedronTraits_3 (const PolyhedronTraits_3 &traits2)
| copy constructor.
PolyhedronTraits_3 & | operator= (const PolyhedronTraits_3 &traits2)
| assignment.

## Operations
Construct_opposite_plane_3 | construct_opposite_plane_3_object ()
| returns an instance of this function object.

## Member Typedef Documentation

## ◆ Construct_opposite_plane_3

typedef unspecified_type PolyhedronTraits_3::Construct_opposite_plane_3

is an unary function object that reverses the plane orientation.

Must provide `Plane_3 operator()(Plane_3 plane)` that returns the reversed plane. Required only if plane equations are supported and the `inside_out()` method is used to reverse the polyhedral surface orientation.

## ◆ Plane_3

typedef unspecified_type PolyhedronTraits_3::Plane_3

plane equation.

Even if plane equations are not supported with a particular polyhedral surface this type has to be defined (some dummy type).