Facet< DataType > Class Template Reference

#include <Connection.h>

Inheritance diagram for Facet< DataType >:
Connection Surface< DataType > Loft< DataType >

List of all members.

Public Member Functions

 Facet ()
 Facet (int v0, int v1, int v2)
 ~Facet ()
virtual void measure ()
virtual DataType Length () const
virtual void setLength (DataType val)
virtual DataType Area () const
virtual void setArea (DataType val)
virtual PType Normal () const
virtual void setNormal (PType val)
virtual PType Centroid () const
virtual void setCentroid (PType val)
virtual void setNthCon (int i, int val)
virtual int getNthCon (int i) const
virtual void increment (int val)

Public Attributes

PType normal
DataType area
int cPid [3]

Friends

class Connection

Detailed Description

template<class DataType>
class Facet< DataType >

3D Facet connectivity class.


Constructor & Destructor Documentation

template<class DataType>
Facet< DataType >::Facet (  )  [inline]
template<class DataType>
Facet< DataType >::Facet ( int  v0,
int  v1,
int  v2 
) [inline]
template<class DataType>
Facet< DataType >::~Facet (  )  [inline]

Member Function Documentation

template<class DataType>
virtual DataType Facet< DataType >::Area (  )  const [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

References Facet< DataType >::area.

template<class DataType>
virtual PType Facet< DataType >::Centroid (  )  const [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

References Connection::centroid.

Referenced by Surface< DataType >::nearestFacet().

template<class DataType>
virtual void Facet< DataType >::increment ( int  val  )  [inline, virtual]
template<class DataType>
virtual DataType Facet< DataType >::Length (  )  const [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

template<class DataType>
virtual void Facet< DataType >::measure (  )  [inline, virtual]

Implements Connection.

Reimplemented in Surface< DataType >.

References Facet< DataType >::setNormal().

template<class DataType>
virtual PType Facet< DataType >::Normal (  )  const [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

References Facet< DataType >::normal.

template<class DataType>
virtual void Facet< DataType >::setArea ( DataType  val  )  [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

References Facet< DataType >::area.

template<class DataType>
virtual void Facet< DataType >::setCentroid ( PType  val  )  [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

References Connection::centroid.

Referenced by Surface< DataType >::nearestFacet().

template<class DataType>
virtual void Facet< DataType >::setLength ( DataType  val  )  [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

template<class DataType>
virtual void Facet< DataType >::setNormal ( PType  val  )  [inline, virtual]

Implements Connection.

Reimplemented in Loft< DataType >, and Surface< DataType >.

References Facet< DataType >::normal.

Referenced by Facet< DataType >::measure().

template<class DataType>
virtual void Facet< DataType >::setNthCon ( int  i,
int  val 
) [inline, virtual]

Friends And Related Function Documentation

template<class DataType>
friend class Connection [friend]

Member Data Documentation

template<class DataType>
DataType Facet< DataType >::area

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:18:58 2016 for Motion - rigid body dynamics solver by  doxygen 1.6.3