#include <mrtr_pnode.H>
Inheritance diagram for MOERTEL::ProjectedNode:
Public Member Functions | |
ProjectedNode (const MOERTEL::Node &basenode, const double *xi, MOERTEL::Segment *pseg) | |
Constructor. | |
ProjectedNode (const MOERTEL::Node &basenode, const double *xi, MOERTEL::Segment *pseg, int orthseg) | |
Constructor (case of orthogonal projection only). | |
ProjectedNode (MOERTEL::ProjectedNode &old) | |
Copy-Constructor. | |
virtual | ~ProjectedNode () |
Destructor. | |
bool | Print () const |
Print this ProjectedNode and its Node. | |
const double * | Xi () |
Return view of the local coordinates of the projection in the segment. | |
MOERTEL::Segment * | Segment () |
Return pointer to segment this pojrection is in. | |
int | OrthoSegment () |
Return id of segment this projection is orthogonal to (might be different from Segment() ). | |
Protected Member Functions | |
ProjectedNode | operator= (const ProjectedNode &old) |
Protected Attributes | |
double | xi_ [2] |
MOERTEL::Segment * | pseg_ |
int | orthseg_ |
The MOERTEL::ProjectedNode class supports the ostream& operator <<
MOERTEL::ProjectedNode::ProjectedNode | ( | const MOERTEL::Node & | basenode, | |
const double * | xi, | |||
MOERTEL::Segment * | pseg | |||
) | [explicit] |
Constructor.
Constructs an instance of this class.
Note that this is not a collective call as nodes shall only have one owning process.
basenode | : the node this class is the projection of | |
xi | : local coordinates of the projection in the segment its projected onto | |
pseg | : Segment this projection is located in |
MOERTEL::ProjectedNode::ProjectedNode | ( | const MOERTEL::Node & | basenode, | |
const double * | xi, | |||
MOERTEL::Segment * | pseg, | |||
int | orthseg | |||
) | [explicit] |
Constructor (case of orthogonal projection only).
Constructs an instance of this class.
Note that this is not a collective call as nodes shall only have one owning process.
basenode | : the node this class is the projection of | |
xi | : local coordinates of the projection in the segment its projected onto | |
pseg | : Segment this projection is located in | |
orthseg | : id of segment this projection is orthogonal to whic might be different from pseg |