CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches
CGAL::Projection_traits_3< K > Class Template Reference

#include <CGAL/Projection_traits_3.h>

Definition

template<class K>
class CGAL::Projection_traits_3< K >

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.
 

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.