Base mesh items policy.
More...
#include <mesht.hh>
List of all members.
Detailed Description
template<class Traits = DefaultTraits>
class a48::BaseItemsPolicy< Traits >
Base mesh items policy.
This abstract class defines virtual methods to set attributes of items from a mesh. Derive a class to define your own policy such as shown in the example: example_itemspolicy::cc
- Template Parameters:
-
Traits | template argument to define mesh traits |
Definition at line 59 of file mesht.hh.
Member Function Documentation
template<class Traits = DefaultTraits>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters:
-
[out] | v1 | Newly-inserted vertex without attributes |
[in] | v0 | Existing vertex with attributes to copy from |
template<class Traits = DefaultTraits>
Set vertex attributes function.
Used to specify vertex attributes (base class sets no attributes), the vertex is not supposed to have any mesh information (such as its incident halfedge).
- Parameters:
-
[in] | i | Vertex one-dimension index based on mesh connectivity |
[out] | v | Vertex just inserted in the mesh |
template<class Traits = DefaultTraits>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters:
-
[out] | h1 | Newly-inserted halfedge without attributes |
[in] | h0 | Existing halfedge with attributes to copy from |
template<class Traits = DefaultTraits>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters:
-
[out] | h | Halfedge just inserted in the mesh |
[in,out] | o | Opposed halfedge previously setted by the first function |
template<class Traits = DefaultTraits>
Set halfedge attributes function.
Used to specify halfedge attributes (base class sets no attributes), the halfedge has limited mesh information (such as its face).
- Parameters:
-
[in] | i,j | Halfedge one-dimension indices based on mesh connectivity |
[in] | hi | Halfedge index inside its face |
[out] | h | Halfedge just inserted in the mesh |
template<class Traits = DefaultTraits>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters:
-
[out] | f1 | Newly-inserted face without attributes |
[in] | f0 | Existing face with attributes to copy from |
template<class Traits = DefaultTraits>
Set face attributes function.
Used to specify face attributes (base class sets no attributes), the face is not supposed to have any mesh information (such as its halfedge).
- Parameters:
-
[in] | i | Face one-dimension index based on mesh connectivity |
[out] | f | Face just inserted in the mesh |
The documentation for this class was generated from the following file: