ug4
ug::SweepLineEdge Struct Reference

Public Member Functions

bool contains (const SweepLineVertex *v)
 
vector2 direction () const
 
SweepLineVertexget_connected (const SweepLineVertex *v) const
 
 SweepLineEdge (SweepLineVertex *v1, SweepLineVertex *v2)
 

Public Attributes

SweepLineVertexm_helper
 
int m_numConnectedPolygons
 
unsigned char m_status
 
SweepLineVertexm_v1
 
SweepLineVertexm_v2
 

Detailed Description

Please note that edges do not automatically register them selves at their vertices connections array. This would make problems with temporary edge objects and copy-construction.

Constructor & Destructor Documentation

◆ SweepLineEdge()

ug::SweepLineEdge::SweepLineEdge ( SweepLineVertex v1,
SweepLineVertex v2 
)
inline

Member Function Documentation

◆ contains()

bool ug::SweepLineEdge::contains ( const SweepLineVertex v)
inline

◆ direction()

◆ get_connected()

SweepLineVertex* ug::SweepLineEdge::get_connected ( const SweepLineVertex v) const
inline

Member Data Documentation

◆ m_helper

SweepLineVertex* ug::SweepLineEdge::m_helper

◆ m_numConnectedPolygons

int ug::SweepLineEdge::m_numConnectedPolygons

◆ m_status

unsigned char ug::SweepLineEdge::m_status

◆ m_v1

◆ m_v2


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