PBall< Mesh > Struct Template Reference

#include <ProtectedBall.h>

Inheritance diagram for PBall< Mesh >:

ProtectedBall< Mesh::ambient_dimension > List of all members.

Public Types

typedef ProtectedBall< ambientsuper
typedef ProtectedBall< ambientBall
typedef super::CenterRadius CenterRadius
typedef super::Vertex Vertex
typedef ::SplitData< ambientSplitData
typedef Mesh::Simplex Simplex

Public Member Functions

 PBall (Mesh *mesh, const Simplex &s)
const SimplextoSimplex () const
virtual size_t topological () const
virtual GenericMesh< ambient > * getMesh () const
virtual void gatherVertices (typename Vertex::VertexUniqueList &vset) const
virtual bool has (const Vertex *v) const
virtual bool isLive () const
virtual CenterRadius center () const
virtual double radiusEdge2 () const
virtual double computeSigma () const
virtual bool encroachedBy (const Vertex *v) const
virtual bool inSphereExact (const Vertex *v) const
virtual bool isResolved () const
virtual void gatherUppers (typename super::BallSet &set) const
virtual void gatherLowers (typename super::BallSet &set) const
virtual bool split (SplitData &sdata, Vertex *inserthint, bool force)
virtual void blindlyAddUpper (Ball *up)
virtual void blindlyAddLower (Ball *lower)
virtual void removeUpper (Ball *up)
virtual void removeLower (Ball *lower)
virtual void checkAddLower (Ball *lower)
virtual std::string toString () const

Static Public Attributes

static const int ambient = Mesh::ambient_dimension

Detailed Description

template<class Mesh>
struct PBall< Mesh >

A protected ball for a Mesh<ambient, topological>.

See the Mesh class for what each function actually does. The PBall simply wraps a (mesh * simplex) pair and forwards each call (sometimes renamed).


Member Typedef Documentation

template<class Mesh>
typedef ProtectedBall<ambient> PBall< Mesh >::Ball
 

template<class Mesh>
typedef super::CenterRadius PBall< Mesh >::CenterRadius
 

Reimplemented from ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
typedef Mesh::Simplex PBall< Mesh >::Simplex
 

template<class Mesh>
typedef ::SplitData<ambient> PBall< Mesh >::SplitData
 

Reimplemented from ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
typedef ProtectedBall<ambient> PBall< Mesh >::super
 

template<class Mesh>
typedef super::Vertex PBall< Mesh >::Vertex
 

Reimplemented from ProtectedBall< Mesh::ambient_dimension >.


Constructor & Destructor Documentation

template<class Mesh>
PBall< Mesh >::PBall Mesh mesh,
const Simplex s
[inline]
 


Member Function Documentation

template<class Mesh>
virtual void PBall< Mesh >::blindlyAddLower Ball lower  )  [inline, virtual]
 

Calls Mesh::blindlyAddLower()

template<class Mesh>
virtual void PBall< Mesh >::blindlyAddUpper Ball up  )  [inline, virtual]
 

Calls Mesh::blindlyAddUpper()

template<class Mesh>
virtual CenterRadius PBall< Mesh >::center  )  const [inline, virtual]
 

Calls Mesh::circumcenter()

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual void PBall< Mesh >::checkAddLower Ball lower  )  [inline, virtual]
 

Calls Mesh::checkAddLower()

template<class Mesh>
virtual double PBall< Mesh >::computeSigma  )  const [inline, virtual]
 

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual bool PBall< Mesh >::encroachedBy const Vertex v  )  const [inline, virtual]
 

Calls Mesh::encroachedBy()

template<class Mesh>
virtual void PBall< Mesh >::gatherLowers typename super::BallSet set  )  const [inline, virtual]
 

Calls Mesh::gatherLowers()

template<class Mesh>
virtual void PBall< Mesh >::gatherUppers typename super::BallSet set  )  const [inline, virtual]
 

Calls Mesh::gatherUppers()

template<class Mesh>
virtual void PBall< Mesh >::gatherVertices typename Vertex::VertexUniqueList &  vset  )  const [inline, virtual]
 

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual GenericMesh<ambient>* PBall< Mesh >::getMesh  )  const [inline, virtual]
 

Return the mesh that this ball protects.

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual bool PBall< Mesh >::has const Vertex v  )  const [inline, virtual]
 

template<class Mesh>
virtual bool PBall< Mesh >::inSphereExact const Vertex v  )  const [inline, virtual]
 

template<class Mesh>
virtual bool PBall< Mesh >::isLive  )  const [inline, virtual]
 

Calls Mesh::isMember()

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual bool PBall< Mesh >::isResolved  )  const [inline, virtual]
 

Is this ball resolved in the top-dimensional mesh?

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual double PBall< Mesh >::radiusEdge2  )  const [inline, virtual]
 

Calls Mesh::radiusEdge2()

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
virtual void PBall< Mesh >::removeLower Ball lower  )  [inline, virtual]
 

Calls Mesh::removeLower()

template<class Mesh>
virtual void PBall< Mesh >::removeUpper Ball up  )  [inline, virtual]
 

Calls Mesh::removeUpper()

template<class Mesh>
virtual bool PBall< Mesh >::split SplitData sdata,
Vertex inserthint,
bool  force
[inline, virtual]
 

Calls Mesh::split()

template<class Mesh>
virtual size_t PBall< Mesh >::topological  )  const [inline, virtual]
 

Return the topological dimension of the mesh (a compile-time constant).

Implements ProtectedBall< Mesh::ambient_dimension >.

template<class Mesh>
const Simplex& PBall< Mesh >::toSimplex  )  const [inline]
 

Return the simplex itself. Used only by the mesh.

template<class Mesh>
virtual std::string PBall< Mesh >::toString  )  const [inline, virtual]
 

Implements ProtectedBall< Mesh::ambient_dimension >.


Member Data Documentation

template<class Mesh>
const int PBall< Mesh >::ambient = Mesh::ambient_dimension [static]
 


The documentation for this struct was generated from the following file:
Generated on Thu Mar 27 19:04:15 2008 by  doxygen 1.4.6