#include <Connection.h>
Public Member Functions | |
Segment () | |
Segment (int v0, int v1) | |
~Segment () | |
virtual void | measure () |
virtual DataType | Length () const |
virtual void | setLength (DataType val) |
virtual PType | Normal () const |
virtual void | setNormal (PType val) |
virtual PType | Centroid () const |
virtual void | setCentroid (PType val) |
virtual DataType | Area () const |
virtual void | setArea (DataType val) |
virtual void | ConArea () |
virtual void | setNthCon (int i, int val) |
virtual int | getNthCon (int i) const |
Public Attributes | |
DataType | length |
int | cPid [2] |
Friends | |
class | Connection |
2D/3D polyline connectivity class.
virtual DataType Segment< DataType, dim >::Area | ( | ) | const [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
virtual void Segment< DataType, dim >::ConArea | ( | ) | [inline, virtual] |
virtual int Segment< DataType, dim >::getNthCon | ( | int | i | ) | const [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
References Segment< DataType, dim >::cPid.
Referenced by Curve< DataType, dim >::makeUnique().
virtual DataType Segment< DataType, dim >::Length | ( | ) | const [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
References Segment< DataType, dim >::length.
virtual void Segment< DataType, dim >::measure | ( | ) | [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >, and SplineCurve< DataType, dim >.
virtual PType Segment< DataType, dim >::Normal | ( | ) | const [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
virtual void Segment< DataType, dim >::setArea | ( | DataType | val | ) | [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
virtual void Segment< DataType, dim >::setLength | ( | DataType | val | ) | [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
References Segment< DataType, dim >::length.
virtual void Segment< DataType, dim >::setNormal | ( | PType | val | ) | [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
virtual void Segment< DataType, dim >::setNthCon | ( | int | i, | |
int | val | |||
) | [inline, virtual] |
Implements Connection.
Reimplemented in Curve< DataType, dim >.
References Segment< DataType, dim >::cPid.
Referenced by Curve< DataType, dim >::makeConnections().
friend class Connection [friend] |