CGAL 6.1.2 - Linear Cell Complex: Operations for Linear Cell Complex

CGAL 6.1.2 - Linear Cell Complex

Loading...
Searching...
No Matches
Functions
Operations for Linear Cell Complex
Reference Manual

##

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_descriptor d)
| Returns the normal vector of the 0-cell containing `d`, i.e. the average of all the normal vectors of the 2-cells incident to the 0-cell containing `d`.
template<class LCC >
LCC::Vector | CGAL::compute_normal_of_cell_2 (const LCC &lcc, typename LCC::Dart_const_descriptor d)
| Returns the normal vector of the 2-cell containing `d`.

## 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_descriptor | d
| ) |  |

`#include <CGAL/Linear_cell_complex_operations.h>`

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

Precondition
  `LCC::ambient_dimension`==3 and `d` \( \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_descriptor | d
| ) |  |

`#include <CGAL/Linear_cell_complex_operations.h>`

Returns the normal vector of the 2-cell containing `d`.

Precondition
  `LCC::ambient_dimension`==3 and `d` \( \in \) `lcc.darts()`.

See also
  `CGAL::compute_normal_of_cell_0<LCC>`