OpenMesh

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
OpenMesh::Concepts::MeshItems::FaceT< Refs_ > Class Template Reference

Interface for the internal face type. More...

`#include <Doc/Concepts/MeshItems.hh>`

## Public Types
typedef Refs_ | Refs
| Re-export the template argument Refs. This must be done!
typedef GenProg::TagTrue | IsTriangle
| Compile-time-tag: is this face a triangle? Should be typedef'ed to either GenProg::TagTrue or GenProg::TagFalse.

## Public Member Functions
unsigned char | n_vertices () const
| Get the number of vertices of this face.
void | set_n_vertices (unsigned char _n)
| Set the number of vertices of this face. More...
HalfedgeHandle | halfedge_handle () const
| Get a halfedge that belongs to this face.
void | set_halfedge_handle (HalfedgeHandle _eh)
| Set a halfedge that belongs this face. More...

## Static Public Member Functions
static bool | is_triangle ()
| Run-time test: is this face a triangle?

## Detailed Description

### template<class Refs_>
class OpenMesh::Concepts::MeshItems::FaceT< Refs_ >

Interface for the internal face type.

This minimal interface must be provided by every face. It's up to the mesh kernel (or the items used by the mesh kernel) to implement it.

All methods marked as internal should only be used by the mesh kernel.

## Member Function Documentation

template<class Refs_ >

void OpenMesh::Concepts::MeshItems::FaceT< Refs_ >::set_halfedge_handle | ( | HalfedgeHandle | _eh | ) |

Set a halfedge that belongs this face.

template<class Refs_ >

void OpenMesh::Concepts::MeshItems::FaceT< Refs_ >::set_n_vertices | ( | unsigned char | _n | ) |

Set the number of vertices of this face.

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

- Doc/Concepts/MeshItems.hh