a48  2.0.2
a48::BaseStellarPolicy< Traits > Class Template Reference

Base stellar-operations policy. More...

#include <stellarmesht.hh>

List of all members.

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.

Detailed Description

template<class Traits = DefaultTraits>
class a48::BaseStellarPolicy< Traits >

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

Template Parameters:
Traitstemplate argument to define mesh traits

Definition at line 31 of file stellarmesht.hh.


Member Function Documentation

template<class Traits = DefaultTraits>
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.

Parameters:
[in]fSupport face (been splitted) sampling a vertex inside it
[out]vVertex just inserted in the mesh
template<class Traits = DefaultTraits>
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).

Parameters:
[in]hSupport halfedge (been splitted) representing the edge
[out]vVertex just inserted in the mesh
template<class Traits = DefaultTraits>
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.

Parameters:
[in]fSupport face (been welded) removing the inside vertex
[in]vVertex to be removed in the mesh
template<class Traits = DefaultTraits>
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).

Parameters:
[in]hSupport halfedge (been welded) representing the edge
[in]vVertex to be removed in the mesh
template<class Traits = DefaultTraits>
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).

Parameters:
[in]hHalfedge (been flipped) representing the edge

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Typedefs