te::mnt::TinNode Class Reference

#include <Tin.h>

Public Member Functions

std::vector< int32_t > & getEdge ()
 
te::gm::PointZgetNPoint ()
 
Ntype getType ()
 
double getX ()
 
double getY ()
 
double getZ ()
 
void Init (te::gm::PointZ &npoint, Ntype ntype=Normalnode)
 Set node coordinates and height. More...
 
void Init (double xvalue, double yvalue, double zvalue, Ntype ntype=Normalnode)
 Set node coordinates, height and type. More...
 
bool operator< (const TinNode &rhs) const
 
bool operator== (const TinNode &rhs) const
 
bool operator> (const TinNode &rhs) const
 
bool removeEdge (int32_t edge)
 
bool setEdge (int32_t edge)
 
void setNPoint (te::gm::PointZ npoint)
 
void setType (Ntype ntype)
 
void setX (double xvalue)
 
void setY (double yvalue)
 
void setZ (double zvalue)
 
 TinNode ()
 
 TinNode (const TinNode &rhs)
 

Public Attributes

std::vector< int32_t > m_edge
 

Protected Attributes

te::gm::PointZ m_point
 Node point. More...
 
Ntype m_type
 node type More...
 

Detailed Description

Class that defines a node for triangular irregular network

Definition at line 183 of file Tin.h.

Constructor & Destructor Documentation

te::mnt::TinNode::TinNode ( )
inline

Definition at line 187 of file Tin.h.

te::mnt::TinNode::TinNode ( const TinNode rhs)
inline

Definition at line 189 of file Tin.h.

References m_edge, m_point, and m_type.

Member Function Documentation

std::vector<int32_t>& te::mnt::TinNode::getEdge ( )
inline

Definition at line 201 of file Tin.h.

References m_edge.

te::gm::PointZ& te::mnt::TinNode::getNPoint ( )
inline

Get node coordinates.

Definition at line 225 of file Tin.h.

References m_point.

Ntype te::mnt::TinNode::getType ( )
inline

Get node type.

Definition at line 231 of file Tin.h.

References m_type.

double te::mnt::TinNode::getX ( )
inline

Get node X axis coordinate.

Definition at line 213 of file Tin.h.

References te::gm::Point::getX(), and m_point.

double te::mnt::TinNode::getY ( )
inline

Get node Y axis coordinate.

Definition at line 219 of file Tin.h.

References te::gm::Point::getY(), and m_point.

double te::mnt::TinNode::getZ ( )
inline

Get node height value.

Definition at line 207 of file Tin.h.

References te::gm::PointZ::getZ(), and m_point.

void te::mnt::TinNode::Init ( te::gm::PointZ npoint,
Ntype  ntype = Normalnode 
)
inline

Set node coordinates and height.

Parameters
npointPoint with coordinates.
ntypeType (default value = NORMAL).

Definition at line 236 of file Tin.h.

References m_point, and m_type.

void te::mnt::TinNode::Init ( double  xvalue,
double  yvalue,
double  zvalue,
Ntype  ntype = Normalnode 
)
inline

Set node coordinates, height and type.

Parameters
xvalueX axis coordinate.
yvalueY axis coordinate.
zvalueHeight value.
ntypeType (default value = NORMAL).

Definition at line 247 of file Tin.h.

References m_point, m_type, te::gm::Point::setX(), te::gm::Point::setY(), and te::gm::PointZ::setZ().

bool te::mnt::TinNode::operator< ( const TinNode rhs) const
bool te::mnt::TinNode::operator== ( const TinNode rhs) const
bool te::mnt::TinNode::operator> ( const TinNode rhs) const
bool te::mnt::TinNode::removeEdge ( int32_t  edge)
bool te::mnt::TinNode::setEdge ( int32_t  edge)
void te::mnt::TinNode::setNPoint ( te::gm::PointZ  npoint)
inline

Set node coordinates.

Definition at line 222 of file Tin.h.

References m_point.

void te::mnt::TinNode::setType ( Ntype  ntype)
inline

Set node type.

Definition at line 228 of file Tin.h.

References m_type.

void te::mnt::TinNode::setX ( double  xvalue)
inline

Set node X axis coordinate.

Definition at line 210 of file Tin.h.

References m_point, and te::gm::Point::setX().

void te::mnt::TinNode::setY ( double  yvalue)
inline

Set node Y axis coordinate.

Definition at line 216 of file Tin.h.

References m_point, and te::gm::Point::setY().

void te::mnt::TinNode::setZ ( double  zvalue)
inline

Set node height value.

Definition at line 204 of file Tin.h.

References m_point, and te::gm::PointZ::setZ().

Member Data Documentation

std::vector<int32_t> te::mnt::TinNode::m_edge

Definition at line 259 of file Tin.h.

Referenced by getEdge(), and TinNode().

te::gm::PointZ te::mnt::TinNode::m_point
protected

Node point.

Definition at line 256 of file Tin.h.

Referenced by getNPoint(), getX(), getY(), getZ(), Init(), setNPoint(), setX(), setY(), setZ(), and TinNode().

Ntype te::mnt::TinNode::m_type
protected

node type

Definition at line 255 of file Tin.h.

Referenced by getType(), Init(), setType(), and TinNode().


The documentation for this class was generated from the following file: