Moertel Development
Protected Member Functions | Protected Attributes
MOERTEL::ProjectedNode Class Reference

A class to handle the projection of a node onto some segment More...

#include <mrtr_pnode.H>

Inheritance diagram for MOERTEL::ProjectedNode:
Inheritance graph
[legend]
Collaboration diagram for MOERTEL::ProjectedNode:
Collaboration graph
[legend]

List of all members.

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.
double * Xi ()
 Return view of the local coordinates of the projection in the segment.
MOERTEL::SegmentSegment ()
 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::Segmentpseg_
int orthseg_

Detailed Description

A class to handle the projection of a node onto some segment

The MOERTEL::ProjectedNode class supports the ostream& operator <<

Author:
Glen Hansen (Glen.Hansen@inl.gov)

Constructor & Destructor Documentation

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.

Parameters:
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.

Parameters:
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

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Enumerations Friends