Loading...
Searching...
No Matches
te::mnt::TinNode Class Reference

#include <Tin.h>

Public Member Functions

std::vector< int32_t > & getEdge ()
 
te::gm::PointgetNPoint ()
 
Ntype getType ()
 
double getX ()
 
double getY ()
 
double getZ ()
 
void Init (double xvalue, double yvalue, double zvalue, Ntype ntype=Normalnode)
 Set node coordinates, height and type.
 
void Init (te::gm::Point &npoint, Ntype ntype=Normalnode)
 Set node coordinates and height.
 
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::Point 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::Point m_point
 Node point.
 
Ntype m_type
 node type
 

Detailed Description

Class that defines a node for triangular irregular network

Definition at line 189 of file Tin.h.

Constructor & Destructor Documentation

◆ TinNode() [1/2]

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

Definition at line 193 of file Tin.h.

References te::mnt::Deletednode, m_point, and m_type.

Referenced by operator<(), operator==(), operator>(), and TinNode().

◆ TinNode() [2/2]

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

Definition at line 195 of file Tin.h.

References m_edge, m_point, m_type, and TinNode().

Member Function Documentation

◆ getEdge()

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

Definition at line 207 of file Tin.h.

References m_edge.

◆ getNPoint()

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

Get node coordinates.

Definition at line 231 of file Tin.h.

References m_point.

◆ getType()

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

Get node type.

Definition at line 237 of file Tin.h.

References m_type.

◆ getX()

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

Get node X axis coordinate.

Definition at line 219 of file Tin.h.

References m_point.

◆ getY()

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

Get node Y axis coordinate.

Definition at line 225 of file Tin.h.

References m_point.

◆ getZ()

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

Get node height value.

Definition at line 213 of file Tin.h.

References m_point.

◆ Init() [1/2]

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 253 of file Tin.h.

References m_point, m_type, and te::mnt::Normalnode.

◆ Init() [2/2]

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

Set node coordinates and height.

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

Definition at line 242 of file Tin.h.

References m_point, m_type, and te::mnt::Normalnode.

◆ operator<()

bool te::mnt::TinNode::operator< ( const TinNode & rhs) const

References TinNode().

◆ operator==()

bool te::mnt::TinNode::operator== ( const TinNode & rhs) const

References TinNode().

◆ operator>()

bool te::mnt::TinNode::operator> ( const TinNode & rhs) const

References TinNode().

◆ removeEdge()

bool te::mnt::TinNode::removeEdge ( int32_t edge)

◆ setEdge()

bool te::mnt::TinNode::setEdge ( int32_t edge)

◆ setNPoint()

void te::mnt::TinNode::setNPoint ( te::gm::Point npoint)
inline

Set node coordinates.

Definition at line 228 of file Tin.h.

References m_point.

◆ setType()

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

Set node type.

Definition at line 234 of file Tin.h.

References m_type.

◆ setX()

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

Set node X axis coordinate.

Definition at line 216 of file Tin.h.

References m_point.

◆ setY()

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

Set node Y axis coordinate.

Definition at line 222 of file Tin.h.

References m_point.

◆ setZ()

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

Set node height value.

Definition at line 210 of file Tin.h.

References m_point.

Member Data Documentation

◆ m_edge

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

Definition at line 265 of file Tin.h.

Referenced by getEdge(), and TinNode().

◆ m_point

te::gm::Point te::mnt::TinNode::m_point
protected

Node point.

Definition at line 262 of file Tin.h.

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

◆ m_type

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

node type

Definition at line 261 of file Tin.h.

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


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