CGAL 5.4.1 - Linear Cell Complex
Operations for Linear Cell Complex

High-level operations.

#include <CGAL/Linear_cell_complex_operations.h>

Functions

template<class LCC >
LCC::Vector CGAL::compute_normal_of_cell_0 (const LCC &lcc, typename LCC::Dart_const_handle dh)
 Returns the normal vector of the 0-cell containing dh, i.e. the average of all the normal vectors of the 2-cells incident to the 0-cell containing dh. More...
 
template<class LCC >
LCC::Vector CGAL::compute_normal_of_cell_2 (const LCC &lcc, typename LCC::Dart_const_handle dh)
 Returns the normal vector of the 2-cell containing dh. More...
 

Function Documentation

◆ compute_normal_of_cell_0()

template<class LCC >
LCC::Vector CGAL::compute_normal_of_cell_0 ( const LCC &  lcc,
typename LCC::Dart_const_handle  dh 
)

#include <CGAL/Linear_cell_complex_operations.h>

Returns the normal vector of the 0-cell containing dh, i.e. the average of all the normal vectors of the 2-cells incident to the 0-cell containing dh.

Precondition
LCC::ambient_dimension==3 and *dh \( \in \) lcc.darts().
See also
CGAL::compute_normal_of_cell_2<LCC>

◆ compute_normal_of_cell_2()

template<class LCC >
LCC::Vector CGAL::compute_normal_of_cell_2 ( const LCC &  lcc,
typename LCC::Dart_const_handle  dh 
)

#include <CGAL/Linear_cell_complex_operations.h>

Returns the normal vector of the 2-cell containing dh.

Precondition
LCC::ambient_dimension==3 and *dh \( \in \) lcc.darts().
See also
CGAL::compute_normal_of_cell_0<LCC>