OpenStudio:utilities
Loading...
Searching...
No Matches
openstudio::Vertex Class Reference

#include <RoofGeometry_Details.hpp>

Public Member Functions

bool operator!= (const Vertex &other) const
 
bool operator== (const Vertex &other) const
 
 Vertex ()
 
 Vertex (const Point3d &t_point, double t_distance, std::shared_ptr< Ray2d > t_bisector, std::shared_ptr< Edge > t_previousEdge, std::shared_ptr< Edge > t_nextEdge)
 
 Vertex (const std::shared_ptr< Edge > t_previousEdge, const std::shared_ptr< Edge > t_nextEdge)
 

Static Public Member Functions

static int getLavIndex (std::shared_ptr< Vertex > vertex, std::vector< std::vector< std::shared_ptr< Vertex > > > &sLav)
 
static std::shared_ptr< Vertexnext (std::shared_ptr< Vertex > vertex, std::vector< std::shared_ptr< Vertex > > &vertices)
 
static std::shared_ptr< Vertexnext (std::shared_ptr< Vertex > vertex, std::vector< std::vector< std::shared_ptr< Vertex > > > &sLav)
 
static std::shared_ptr< Vertexprevious (std::shared_ptr< Vertex > vertex, std::vector< std::shared_ptr< Vertex > > &vertices)
 
static std::shared_ptr< Vertexprevious (std::shared_ptr< Vertex > vertex, std::vector< std::vector< std::shared_ptr< Vertex > > > &sLav)
 
static void removeFromLav (std::shared_ptr< Vertex > vertex, std::vector< std::shared_ptr< Vertex > > &lav)
 
static void removeFromLav (std::shared_ptr< Vertex > vertex, std::vector< std::vector< std::shared_ptr< Vertex > > > &sLav)
 

Public Attributes

std::shared_ptr< Ray2dbisector
 
double distance = 0.0
 
std::shared_ptr< FaceNodeleftFaceNode
 
std::shared_ptr< EdgenextEdge
 
Point3d point
 
std::shared_ptr< EdgepreviousEdge
 
bool processed = false
 
std::shared_ptr< FaceNoderightFaceNode
 

Constructor & Destructor Documentation

◆ Vertex() [1/3]

openstudio::Vertex::Vertex ( )
inline

◆ Vertex() [2/3]

openstudio::Vertex::Vertex ( const Point3d & t_point,
double t_distance,
std::shared_ptr< Ray2d > t_bisector,
std::shared_ptr< Edge > t_previousEdge,
std::shared_ptr< Edge > t_nextEdge )
inline

◆ Vertex() [3/3]

openstudio::Vertex::Vertex ( const std::shared_ptr< Edge > t_previousEdge,
const std::shared_ptr< Edge > t_nextEdge )
inline

Member Function Documentation

◆ getLavIndex()

static int openstudio::Vertex::getLavIndex ( std::shared_ptr< Vertex > vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > & sLav )
inlinestatic

◆ next() [1/2]

static std::shared_ptr< Vertex > openstudio::Vertex::next ( std::shared_ptr< Vertex > vertex,
std::vector< std::shared_ptr< Vertex > > & vertices )
inlinestatic

◆ next() [2/2]

static std::shared_ptr< Vertex > openstudio::Vertex::next ( std::shared_ptr< Vertex > vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > & sLav )
inlinestatic

◆ operator!=()

bool openstudio::Vertex::operator!= ( const Vertex & other) const
inline

◆ operator==()

bool openstudio::Vertex::operator== ( const Vertex & other) const
inline

◆ previous() [1/2]

static std::shared_ptr< Vertex > openstudio::Vertex::previous ( std::shared_ptr< Vertex > vertex,
std::vector< std::shared_ptr< Vertex > > & vertices )
inlinestatic

◆ previous() [2/2]

static std::shared_ptr< Vertex > openstudio::Vertex::previous ( std::shared_ptr< Vertex > vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > & sLav )
inlinestatic

◆ removeFromLav() [1/2]

static void openstudio::Vertex::removeFromLav ( std::shared_ptr< Vertex > vertex,
std::vector< std::shared_ptr< Vertex > > & lav )
inlinestatic

◆ removeFromLav() [2/2]

static void openstudio::Vertex::removeFromLav ( std::shared_ptr< Vertex > vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > & sLav )
inlinestatic

Member Data Documentation

◆ bisector

std::shared_ptr<Ray2d> openstudio::Vertex::bisector

◆ distance

double openstudio::Vertex::distance = 0.0

◆ leftFaceNode

std::shared_ptr<FaceNode> openstudio::Vertex::leftFaceNode

◆ nextEdge

std::shared_ptr<Edge> openstudio::Vertex::nextEdge

◆ point

Point3d openstudio::Vertex::point

◆ previousEdge

std::shared_ptr<Edge> openstudio::Vertex::previousEdge

◆ processed

bool openstudio::Vertex::processed = false

◆ rightFaceNode

std::shared_ptr<FaceNode> openstudio::Vertex::rightFaceNode