a48
2.0.2
|
Base stellar-operations policy. More...
#include <stellarmesht.hh>
Public Member Functions | |
virtual void | sample_vertex (const face_type *f, vertex_type *v)=0 |
virtual void | sample_vertex (const halfedge_type *h, vertex_type *v)=0 |
Sample vertex function. | |
virtual void | remove_vertex (const face_type *f, const vertex_type *v)=0 |
virtual void | remove_vertex (const halfedge_type *h, const vertex_type *v)=0 |
Remove vertex function. | |
virtual void | flip_halfedge (const halfedge_type *h)=0 |
Flip halfedge function. |
Base stellar-operations policy.
This abstract class defines virtual methods to control stellar operations done on a mesh. Derive a class to define your own policy such as shown in example: example_stellarpolicy::cc
Traits | template argument to define mesh traits |
Definition at line 31 of file stellarmesht.hh.
void a48::BaseStellarPolicy< Traits >::sample_vertex | ( | const face_type * | f, |
vertex_type * | v | ||
) | [pure virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | f | Support face (been splitted) sampling a vertex inside it |
[out] | v | Vertex just inserted in the mesh |
virtual void a48::BaseStellarPolicy< Traits >::sample_vertex | ( | const halfedge_type * | h, |
vertex_type * | v | ||
) | [pure virtual] |
Sample vertex function.
Used after sampling a vertex (base class does no retrieval).
[in] | h | Support halfedge (been splitted) representing the edge |
[out] | v | Vertex just inserted in the mesh |
void a48::BaseStellarPolicy< Traits >::remove_vertex | ( | const face_type * | f, |
const vertex_type * | v | ||
) | [pure virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
[in] | f | Support face (been welded) removing the inside vertex |
[in] | v | Vertex to be removed in the mesh |
virtual void a48::BaseStellarPolicy< Traits >::remove_vertex | ( | const halfedge_type * | h, |
const vertex_type * | v | ||
) | [pure virtual] |
Remove vertex function.
Used before removing a vertex (base class does no storage).
[in] | h | Support halfedge (been welded) representing the edge |
[in] | v | Vertex to be removed in the mesh |
virtual void a48::BaseStellarPolicy< Traits >::flip_halfedge | ( | const halfedge_type * | h | ) | [pure virtual] |
Flip halfedge function.
Used before flipping a halfedge (base class does no changing).
[in] | h | Halfedge (been flipped) representing the edge |