\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13.2 - 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>