#include <Connection.h>
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 |
3D Facet connectivity class.
References Connection::centroid, Facet< DataType >::cPid, and Facet< DataType >::normal.
References Connection::centroid, Facet< DataType >::cPid, and Facet< DataType >::normal.
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Facet< DataType >::area.
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Connection::centroid.
Referenced by Surface< DataType >::nearestFacet().
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Facet< DataType >::cPid.
Referenced by Loft< DataType >::makeUnique(), Surface< DataType >::nearestFacet(), Assembly< DataType, dim >::outputAssembly_Brep3D(), Surface< DataType >::read(), Loft< DataType >::read(), and Assembly< DataType, dim >::send2CPT().
References Facet< DataType >::cPid.
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
Implements Connection.
Reimplemented in Surface< DataType >.
References Facet< DataType >::setNormal().
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Facet< DataType >::normal.
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Facet< DataType >::area.
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().
virtual void Facet< DataType >::setLength | ( | DataType | val | ) | [inline, virtual] |
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Facet< DataType >::normal.
Referenced by Facet< DataType >::measure().
virtual void Facet< DataType >::setNthCon | ( | int | i, | |
int | val | |||
) | [inline, virtual] |
Implements Connection.
Reimplemented in Loft< DataType >, and Surface< DataType >.
References Facet< DataType >::cPid.
Referenced by Surface< DataType >::read(), and Loft< DataType >::read().
friend class Connection [friend] |
Reimplemented in Surface< DataType >.
Referenced by Facet< DataType >::Area(), and Facet< DataType >::setArea().
Referenced by Facet< DataType >::Facet(), Facet< DataType >::Normal(), and Facet< DataType >::setNormal().