Visual Computing Library
Loading...
Searching...
No Matches
vcl::EdgeConcept Concept Reference

The EdgeConcept describes how a Edge element that can be used for a EdgeContainer should be organized. More...

#include <vclib/concepts/mesh/elements/edge.h>

Concept definition

template<typename T>
concept vcl::EdgeConcept =
ElementConcept<T> && RemoveRef<T>::ELEMENT_ID == ElemId::EDGE &&
RemoveRef<T>::VERTEX_NUMBER == 2
The EdgeConcept describes how a Edge element that can be used for a EdgeContainer should be organized...
Definition edge.h:95
Definition element.h:31
Definition edge.h:56
Definition edge.h:76

Detailed Description

The EdgeConcept describes how a Edge element that can be used for a EdgeContainer should be organized.

The Edge concept is satisfied for a class E if ALL the following sentences are true:

  • The class E has the BitFlags component (or an equivalent one);
  • The class E has the either VertexPointers or VertexIndices components;
  • The number of vertices of the VertexPointers/VertexIndices is 2.