wip triangulation traits

This commit is contained in:
Jane Tournois 2025-04-22 18:37:17 +02:00
parent 826003ed2e
commit e26c6ade83
1 changed files with 109 additions and 1 deletions

View File

@ -11,7 +11,7 @@ parameter `Triangulation_3` in the function template
\cgalHasModelsBegin \cgalHasModelsBegin
\cgalHasModels{CGAL::Exact_predicates_inexact_constructions_kernel (recommended)} \cgalHasModels{CGAL::Exact_predicates_inexact_constructions_kernel (recommended)}
\cgalHasModelsBare{all %CGAL kernels} \cgalHasModelsBare{All %CGAL kernels}
\cgalHasModelsEnd \cgalHasModelsEnd
\todo Add the requirements in the concept `ConformingConstrainedDelaunayTriangulationTraits_3`. \todo Add the requirements in the concept `ConformingConstrainedDelaunayTriangulationTraits_3`.
@ -19,4 +19,112 @@ parameter `Triangulation_3` in the function template
*/ */
class ConformingConstrainedDelaunayTriangulationTraits_3 { class ConformingConstrainedDelaunayTriangulationTraits_3 {
public: public:
/// \name Types
/// @{
/*!
* The number type
*/
using FT = unspecified_type;
/*!
* The line type
*/
using Line_3 = unspecified_type;
/*!
* The point type
*/
using Point_3 = unspecified_type;
/*!
* The vector type
*/
using Vector_3 = unspecified_type;
/*!
* The segment type
*/
using Segment_3 = unspecified_type;
/*!
* The triangle type
*/
using Triangle_3 = unspecified_type;
/*!
* The tetrahedron type
*/
using Tetrahedron_3 = unspecified_type;
/*!
*/
using Construct_cross_product_vector_3 = unspecified_type;
/*!
*/
using Construct_vector_3 = unspecified_type;
/*!
*/
using Construct_sum_of_vectors_3 = unspecified_type;
/*!
*/
using Construct_triangle_3 = unspecified_type;
/*!
*/
using Construct_vertex_3 = unspecified_type;
/*!
*/
using Orientation_3 = unspecified_type;
/*!
* A predicate object that must provide the function operators:
`bool operator()(Triangle_3 t)`
`bool operator()(Tetrahedron_3 t)`
which return true iff the object is degenerate.
*/
using Is_degenerate_3 = unspecified_type;
/// @}
/// \name Operations
/// The following functions give access to the predicate and construction objects:
/// @{
/*!
*/
Construct_cross_product_vector_3 construct_cross_product_vector_3_object();
/*!
*/
Construct_vector_3 construct_vector_3_object();
/*!
*/
Construct_sum_of_vectors_3 construct_sum_of_vectors_3_object();
/*!
*/
Construct_triangle_3 construct_triangle_3_object();
/*!
*/
Construct_vertex_3 construct_vertex_3_object();
/*!
*/
Orientation_3 orientation_3_object();
/*!
*/
Is_degenerate_3 is_degenerate_3_object();
/// @}
}; };