CGAL 5.5 - 2D and 3D Linear Geometry Kernel
CGAL::Projection_traits_3< K > Class Template Reference

#include <CGAL/Projection_traits_3.h>

Definition

The class Projection_traits_3 works similarly to the Projection_traits_xy_3, Projection_traits_xz_3, and Projection_traits_yz_3 traits classes, enabling the use of 2D algorithms on the projections of 3D data onto an arbitrary plane.

Template Parameters
Kmust be a model of Kernel
Note
Internal constructions (projections) are used in the predicate and construction functors of this class. If K is a model of Kernel providing exact constructions or if K is a CGAL::Filtered_kernel (such as for CGAL::Exact_predicates_inexact_constructions_kernel), this class automatically provides exact predicates.
Is Model Of:

TriangulationTraits_2

DelaunayTriangulationTraits_2

ConstrainedTriangulationTraits_2

PolygonTraits_2

ConformingDelaunayTriangulationTraits_2

Barycentric_coordinates::BarycentricTraits_2

See also
CGAL::Projection_traits_xy_3
CGAL::Projection_traits_xz_3
CGAL::Projection_traits_yz_3
Examples:
Triangulation_2/triangulation_projection_traits.cpp.

Creation

 Projection_traits_3 (const typename K::Vector_3 &normal)
 Constructor. More...
 

Constructor & Destructor Documentation

◆ Projection_traits_3()

template<class K >
CGAL::Projection_traits_3< K >::Projection_traits_3 ( const typename K::Vector_3 &  normal)

Constructor.

Parameters
normala vector orthogonal to the projection plane.