This commit is contained in:
Mael Rouxel-Labbé 2021-08-26 11:08:28 +02:00
parent bcce76c062
commit 71d88536b8
3 changed files with 7 additions and 10 deletions

View File

@ -20,27 +20,20 @@ provides exact predicates.
\cgalModels `ConstrainedTriangulationTraits_2`
\cgalModels `PolygonTraits_2`
\sa `CGAL::Projection_traits_xy_3`
\sa `CGAL::Projection_traits_xz_3`
\sa `CGAL::Projection_traits_yz_3`
*/
template <class K>
class Projection_traits_3
{
public:
///\name Types
///@{
//!
typedef typename K::Point_3 Point_2;
///@}
/// \name Functors
/// The functors provided by this class are those listed in the
/// concepts. The functors operate on the 2D projections of their
/// arguments. They come with preconditions that projections of the
/// arguments are non-degenerate, e.g. a line segment does not project
/// on a single point, two points do not project onto the same point, etc.
///@}
/// \name Creation
///@{
@ -54,4 +47,5 @@ public:
///@}
};
} // end namespace CGAL

View File

@ -32,6 +32,7 @@ provides exact predicates.
\cgalModels `ConvexHullTraits_2`
\cgalModels `DelaunayMeshTraits_2`
\sa `CGAL::Projection_traits_3`
*/
template< typename K >
class Projection_traits_xy_3 {

View File

@ -833,6 +833,8 @@ public:
}
};
// This is for projection traits along a specific canonical plane (xy, yz, xz)
// The generic class for an arbitrary normal is CGAL::Projection_traits_3<K> (not in `internal`)
template < class R, int dim >
class Projection_traits_3 {
public: