sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes > Class Template Reference

A class that provides geometry information on an EdgeSet. More...

#include <EdgeSetGeometryAlgorithms.h>

Inheritance diagram for sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >:

Collaboration graph
[legend]

Public Types

typedef DataTypes::VecCoord VecCoord
typedef DataTypes::Real Real
typedef DataTypes::Coord Coord

Public Member Functions

 EdgeSetGeometryAlgorithms ()
virtual ~EdgeSetGeometryAlgorithms ()
virtual Real computeEdgeLength (const unsigned int i) const
 computes the length of edge no i and returns it
virtual void computeEdgeLength (BasicArrayInterface< Real > &ai) const
 computes the edge length of all edges are store in the array interface
virtual Real computeRestEdgeLength (const unsigned int i) const
 computes the initial length of edge no i and returns it
virtual Real computeRestSquareEdgeLength (const unsigned int i) const
 computes the initial square length of edge no i and returns it
void writeMSHfile (const char *filename)
 Write the current mesh into a msh file.

Detailed Description

template<class DataTypes>
class sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >

A class that provides geometry information on an EdgeSet.

Definition at line 61 of file EdgeSetGeometryAlgorithms.h.


Member Typedef Documentation

template<class DataTypes >
typedef DataTypes::Coord sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::Coord

template<class DataTypes >
typedef DataTypes::Real sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::Real

template<class DataTypes >
typedef DataTypes::VecCoord sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::VecCoord


Constructor & Destructor Documentation

template<class DataTypes >
sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::EdgeSetGeometryAlgorithms (  )  [inline]

Definition at line 69 of file EdgeSetGeometryAlgorithms.h.

template<class DataTypes >
virtual sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::~EdgeSetGeometryAlgorithms (  )  [inline, virtual]

Definition at line 73 of file EdgeSetGeometryAlgorithms.h.


Member Function Documentation

template<class DataTypes >
void sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::computeEdgeLength ( BasicArrayInterface< Real > &  ai  )  const [inline, virtual]

computes the edge length of all edges are store in the array interface

Definition at line 71 of file EdgeSetGeometryAlgorithms.inl.

References sofa::core::componentmodel::topology::BaseMeshTopology::getEdges(), sofa::component::topology::PointSetGeometryAlgorithms< DataTypes >::m_topology, and norm().

template<class DataTypes >
DataTypes::Real sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::computeEdgeLength ( const unsigned int  i  )  const [inline, virtual]

template<class DataTypes >
DataTypes::Real sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::computeRestEdgeLength ( const unsigned int  i  )  const [inline, virtual]

template<class DataTypes >
DataTypes::Real sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::computeRestSquareEdgeLength ( const unsigned int  i  )  const [inline, virtual]

template<typename DataTypes >
void sofa::component::topology::EdgeSetGeometryAlgorithms< DataTypes >::writeMSHfile ( const char *  filename  )  [inline]


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:21:23 2008 for Sofa by  doxygen 1.5.7.1