|
TM2IN
0.5.1
|
#include <HalfEdge.h>

Public Member Functions | |
| HalfEdge () | |
| Empty HalfEdge constructor. More... | |
| HalfEdge (Vertex *pa, Vertex *pb, Wall::Surface *pSurface) | |
| HalfEdge constructor. More... | |
| Wall::Surface * | getParent () const |
| Returns parent Surface. More... | |
| void | setParent (Wall::Surface *pSurface) |
| Sets parent Surface. More... | |
| HalfEdge * | getOppositeEdge () const |
| Returns opposite HalfEdge. More... | |
| void | setOppositeEdge (HalfEdge *oppositeEdge) |
| Sets opposite HalfEdge. More... | |
| void | setVertex (int i, Vertex *vt) |
| Sets the i-th Vertex. More... | |
| bool | isSame (HalfEdge *) |
| Checks whether it is same edge. More... | |
| bool | can_be_opposite_edge (HalfEdge *) |
| Checks whether the other has possible opposite edge. More... | |
| Vertex * | operator[] (int idx) |
| Kernel::Segment_3 | to_CGAL_segment () |
| Converts to Kernel::Segment_3. More... | |
| std::string | asJsonText () |
| Returns json string. More... | |
Public Member Functions inherited from TM2IN::IndoorComponent | |
| IndoorComponent () | |
| double | getArea () |
| Returns area. More... | |
| void | setArea (double _area) |
| Sets area. More... | |
| MinimumBoundingBox * | getMBB () |
| Returns minimum bounding box. More... | |
| void | setMBB (MinimumBoundingBox *_mbb) |
| Sets minimum bounding box. More... | |
| virtual void | updateMBB () |
| Updates MinimumBoundingBox. More... | |
| virtual void | mergeMBB (IndoorComponent *gm) |
| Merges with the other IndoorComponent. More... | |
Public Attributes | |
| std::vector< Vertex * > | vertices |
| Wall::Surface * | parent = NULL |
| HalfEdge * | oppositeEdge = NULL |
Public Attributes inherited from TM2IN::IndoorComponent | |
| std::string | geom_id |
Additional Inherited Members | |
Protected Attributes inherited from TM2IN::IndoorComponent | |
| MinimumBoundingBox * | mbb |
| TM2IN::IND_TYPE | type |
| double | area = 0.0 |
|
inline |
Empty HalfEdge constructor.
|
inline |
HalfEdge constructor.
|
virtual |
Returns json string.
Reimplemented from TM2IN::IndoorComponent.
| bool TM2IN::HalfEdge::can_be_opposite_edge | ( | HalfEdge * | he | ) |
Checks whether the other has possible opposite edge.
| Wall::Surface * TM2IN::HalfEdge::getParent | ( | ) | const |
Returns parent Surface.
| bool TM2IN::HalfEdge::isSame | ( | HalfEdge * | he | ) |
Checks whether it is same edge.
|
inline |
| void TM2IN::HalfEdge::setParent | ( | Wall::Surface * | pSurface | ) |
Sets parent Surface.
| Kernel::Segment_3 TM2IN::HalfEdge::to_CGAL_segment | ( | ) |
Converts to Kernel::Segment_3.
| HalfEdge* TM2IN::HalfEdge::oppositeEdge = NULL |
| Wall::Surface* TM2IN::HalfEdge::parent = NULL |
| std::vector<Vertex *> TM2IN::HalfEdge::vertices |
1.8.11