CGAL 5.1 - Linear Cell Complex
LinearCellComplexTraits Class Reference

#include <Concepts/LinearCellComplexTraits.h>

Definition

Required types and functors for the LinearCellComplexTraits concept. This geometric traits concept is used in the Linear_cell_complex_for_combinatorial_map and Linear_cell_complex_for_generalized_map classes.

Has Models:
CGAL::Linear_cell_complex_traits<d,K>
See also
CGAL::Linear_cell_complex_for_combinatorial_map<d,d2,LCCTraits,Items,Alloc>
CGAL::Linear_cell_complex_for_generalized_map<d,d2,LCCTraits,Items,Alloc>

Constants

static unsigned int ambient_dimension
 The ambient dimension (must be > 1). More...
 

Types

typedef unspecified_type FT
 a number type that is a model of FieldNumberType. More...
 
typedef unspecified_type Point
 point type. More...
 
typedef unspecified_type Vector
 vector type. More...
 

Constructions

typedef unspecified_type Construct_translated_point
 Functor that provides Point operator() (const Point& p, const Vector& v), which constructs the translation of point p by vector v, and Point operator() (const CGAL::Origin&, const Vector& v), which constructs the translation of a point at the origin by vector v (used in LinearCellComplex::barycenter). More...
 
typedef unspecified_type Construct_vector
 Functor that provides Vector operator() (const Point& p1, const Point& p2) which constructs a vector as the difference of points p2-p1, and Vector operator() (const CGAL::Origin&, const Point& p) which constructs a vector as the difference of point p and a point at the origin (used in LinearCellComplex::barycenter and CGAL::import_from_plane_graph). More...
 
typedef unspecified_type Construct_sum_of_vectors
 Functor that provides Vector operator() (const Vector& v1, const Vector& v2) which constructs a vector as the sum of vectors v1+v2 (used in LinearCellComplex::barycenter, CGAL::compute_normal_of_cell_0 and CGAL::compute_normal_of_cell_2). More...
 
typedef unspecified_type Construct_scaled_vector
 Functor that provides Vector operator() (const Vector& v, FT scale) which constructs a vector equal to vector v scaled by scale factor (used in LinearCellComplex::barycenter, CGAL::compute_normal_of_cell_0 and CGAL::compute_normal_of_cell_2). More...
 
typedef unspecified_type Construct_midpoint
 Functor that provides Point operator() (const Point& p1, const Point& p2) which constructs the midpoint of points p1 and p2 (used in LinearCellComplex::barycenter). More...
 

If ambient_dimension==2

typedef unspecified_type Direction_2
 a model of Direction_2. More...
 
typedef unspecified_type Construct_direction_2
 a model of ConstructDirection_2 (used in CGAL::import_from_plane_graph). More...
 

If ambient_dimension==3

typedef unspecified_type Construct_normal_3
 a model of ConstructNormal_3 (used in CGAL::compute_normal_of_cell_2). More...
 
typedef unspecified_type Collinear_3
 a model of Collinear_3 (used in CGAL::compute_normal_of_cell_2). More...
 

Member Typedef Documentation

◆ Collinear_3

◆ Construct_direction_2

◆ Construct_midpoint

Functor that provides Point operator() (const Point& p1, const Point& p2) which constructs the midpoint of points p1 and p2 (used in LinearCellComplex::barycenter).

◆ Construct_normal_3

◆ Construct_scaled_vector

Functor that provides Vector operator() (const Vector& v, FT scale) which constructs a vector equal to vector v scaled by scale factor (used in LinearCellComplex::barycenter, CGAL::compute_normal_of_cell_0 and CGAL::compute_normal_of_cell_2).

◆ Construct_sum_of_vectors

Functor that provides Vector operator() (const Vector& v1, const Vector& v2) which constructs a vector as the sum of vectors v1+v2 (used in LinearCellComplex::barycenter, CGAL::compute_normal_of_cell_0 and CGAL::compute_normal_of_cell_2).

◆ Construct_translated_point

Functor that provides Point operator() (const Point& p, const Vector& v), which constructs the translation of point p by vector v, and Point operator() (const CGAL::Origin&, const Vector& v), which constructs the translation of a point at the origin by vector v (used in LinearCellComplex::barycenter).

◆ Construct_vector

Functor that provides Vector operator() (const Point& p1, const Point& p2) which constructs a vector as the difference of points p2-p1, and Vector operator() (const CGAL::Origin&, const Point& p) which constructs a vector as the difference of point p and a point at the origin (used in LinearCellComplex::barycenter and CGAL::import_from_plane_graph).

◆ Direction_2

typedef unspecified_type LinearCellComplexTraits::Direction_2

a model of Direction_2.

◆ FT

typedef unspecified_type LinearCellComplexTraits::FT

a number type that is a model of FieldNumberType.

◆ Point

typedef unspecified_type LinearCellComplexTraits::Point

point type.

◆ Vector

typedef unspecified_type LinearCellComplexTraits::Vector

vector type.

Member Data Documentation

◆ ambient_dimension

unsigned int LinearCellComplexTraits::ambient_dimension
static

The ambient dimension (must be > 1).