OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
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 (Point3d &point, double distance, std::shared_ptr< Ray2d > bisector, std::shared_ptr< Edge > previousEdge, std::shared_ptr< Edge > nextEdge)
 
 Vertex (std::shared_ptr< Edge > previousEdge, std::shared_ptr< Edge > 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
 

Friends

int getOffsetVertexIndex (std::shared_ptr< Vertex > vertex, std::vector< std::shared_ptr< Vertex > > &vertices, int offset)
 
std::ostream & operator<< (std::ostream &os, const Vertex &v)
 

Constructor & Destructor Documentation

openstudio::Vertex::Vertex ( )
inline
openstudio::Vertex::Vertex ( Point3d point,
double  distance,
std::shared_ptr< Ray2d bisector,
std::shared_ptr< Edge previousEdge,
std::shared_ptr< Edge nextEdge 
)
inline
openstudio::Vertex::Vertex ( std::shared_ptr< Edge previousEdge,
std::shared_ptr< Edge nextEdge 
)
inline

Member Function Documentation

static int openstudio::Vertex::getLavIndex ( std::shared_ptr< Vertex vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > &  sLav 
)
inlinestatic
static std::shared_ptr<Vertex> openstudio::Vertex::next ( std::shared_ptr< Vertex vertex,
std::vector< std::shared_ptr< Vertex > > &  vertices 
)
inlinestatic
static std::shared_ptr<Vertex> openstudio::Vertex::next ( std::shared_ptr< Vertex vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > &  sLav 
)
inlinestatic
bool openstudio::Vertex::operator!= ( const Vertex other) const
inline
bool openstudio::Vertex::operator== ( const Vertex other) const
inline
static std::shared_ptr<Vertex> openstudio::Vertex::previous ( std::shared_ptr< Vertex vertex,
std::vector< std::shared_ptr< Vertex > > &  vertices 
)
inlinestatic
static std::shared_ptr<Vertex> openstudio::Vertex::previous ( std::shared_ptr< Vertex vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > &  sLav 
)
inlinestatic
static void openstudio::Vertex::removeFromLav ( std::shared_ptr< Vertex vertex,
std::vector< std::shared_ptr< Vertex > > &  lav 
)
inlinestatic
static void openstudio::Vertex::removeFromLav ( std::shared_ptr< Vertex vertex,
std::vector< std::vector< std::shared_ptr< Vertex > > > &  sLav 
)
inlinestatic

Friends And Related Function Documentation

int getOffsetVertexIndex ( std::shared_ptr< Vertex vertex,
std::vector< std::shared_ptr< Vertex > > &  vertices,
int  offset 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const Vertex v 
)
friend

Member Data Documentation

std::shared_ptr<Ray2d> openstudio::Vertex::bisector
double openstudio::Vertex::distance = 0.0
std::shared_ptr<FaceNode> openstudio::Vertex::leftFaceNode
std::shared_ptr<Edge> openstudio::Vertex::nextEdge
Point3d openstudio::Vertex::point
std::shared_ptr<Edge> openstudio::Vertex::previousEdge
bool openstudio::Vertex::processed = false
std::shared_ptr<FaceNode> openstudio::Vertex::rightFaceNode