#include <CGAL/Projection_traits_3.h>
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
-
- 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.
◆ Projection_traits_3()
Constructor.
- Parameters
-
normal | a vector orthogonal to the projection plane. |