Enriched facet for CGAL polyhedron adding normal and tag information. More...
#include <enriched_polyhedron.h>
Public Member Functions | |
const Vector_3 & | normal () const |
Return facet normal vector. More... | |
std::size_t | get_tag () |
Getter to facet tag. More... | |
void | set_tag (std::size_t tag) |
Setter to facet tag. More... | |
double | get_area () const |
Getter to surface area of the triangle facet. | |
void | update () |
Update internal data on the facet. More... | |
Enriched facet for CGAL polyhedron adding normal and tag information.
See the CGAL documentation for information on templates
|
inline |
Getter to facet tag.
|
inline |
Return facet normal vector.
Normal vector are oriented outward for consistently oriented polyhedron.
|
inline |
Setter to facet tag.
tag | Value of the tag |
|
inline |
Update internal data on the facet.
Call this function to initialize the internal information on the facet: the surface area and normal