MSDM
 All Classes Namespaces Files Functions Variables Typedefs Pages
Public Member Functions | List of all members
Enriched_facet< Refs, T > Class Template Reference

Enriched facet for CGAL polyhedron adding normal and tag information. More...

#include <enriched_polyhedron.h>

Inheritance diagram for Enriched_facet< Refs, T >:

Public Member Functions

const Vector_3normal () 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...
 

Detailed Description

template<class Refs, class T>
class Enriched_facet< Refs, T >

Enriched facet for CGAL polyhedron adding normal and tag information.

See the CGAL documentation for information on templates

Member Function Documentation

template<class Refs , class T >
std::size_t Enriched_facet< Refs, T >::get_tag ( )
inline

Getter to facet tag.

Returns
Value of the tag
template<class Refs , class T >
const Vector_3& Enriched_facet< Refs, T >::normal ( ) const
inline

Return facet normal vector.

Returns
Const reference to the facet normal

Normal vector are oriented outward for consistently oriented polyhedron.

template<class Refs , class T >
void Enriched_facet< Refs, T >::set_tag ( std::size_t  tag)
inline

Setter to facet tag.

Parameters
tagValue of the tag
template<class Refs , class T >
void Enriched_facet< Refs, T >::update ( )
inline

Update internal data on the facet.

Call this function to initialize the internal information on the facet: the surface area and normal


The documentation for this class was generated from the following file: