Moertel Development

A class to handle the projection of a node onto some segment More...
#include <mrtr_pnode.H>
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)  
CopyConstructor.  
virtual  ~ProjectedNode () 
Destructor.  
bool  Print () const 
Print this ProjectedNode and its Node.  
double *  Xi () 
Return view of the local coordinates of the projection in the segment.  
MOERTEL::Segment *  Segment () 
Return pointer to segment this projection 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_ 
A class to handle the projection of a node onto some segment
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 which might be different from pseg 