A directed edge from one vertex to another, adjacent to two faces. Based on Dani Lischinski's code from Graphics Gems IV. Original quad-edge data structure due to Guibas and Stolfi (1985). Does not inherit from geometry to reduce size. since each edge has 4 pointers.
More...
#include <hydrocouplespatial.h>
|
virtual | ~IEdge ()=default |
| IEdge destructor.
|
|
virtual unsigned int | index () const =0 |
| unique index identifier
|
|
virtual IVertex * | orig ()=0 |
| The origin IVertex of this IEdge.
|
|
virtual IVertex * | dest ()=0 |
| The destination IVertex of this IEdge.
|
|
virtual IPolygon * | left ()=0 |
| The left face of this edge.
|
|
virtual IPolygon * | right ()=0 |
| The right face of this edge.
|
|
virtual IPolygon * | face ()=0 |
| The target face of this edge, if dual. Otherwise null if not dual.
|
|
virtual IEdge * | rot ()=0 |
| The dual of this edge, directed from its right to its left.
|
|
virtual IEdge * | invRot ()=0 |
| The dual of this IEdge, directed from its left to its right.
|
|
virtual IEdge * | sym ()=0 |
| The IEdge from the destination to the origin of this IEdge.
|
|
virtual IEdge * | origNext ()=0 |
| The next ccw edge around (from) the origin of this IEdge.
|
|
virtual IEdge * | origPrev ()=0 |
| The next cw edge around (from) the origin of this edge.
|
|
virtual IEdge * | destNext ()=0 |
| The next ccw edge around (into) the destination of this edge.
|
|
virtual IEdge * | destPrev ()=0 |
| The next cw edge around (into) the destination of this edge.
|
|
virtual IEdge * | leftNext ()=0 |
| The ccw edge around the left face following this edge.
|
|
virtual IEdge * | leftPrev ()=0 |
| The ccw edge around the left face before this edge.
|
|
virtual IEdge * | rightNext ()=0 |
| The edge around the right face ccw following this edge.
|
|
virtual IEdge * | rightPrev ()=0 |
| The IEdge around the right face ccw before this IEdge.
|
|
A directed edge from one vertex to another, adjacent to two faces. Based on Dani Lischinski's code from Graphics Gems IV. Original quad-edge data structure due to Guibas and Stolfi (1985). Does not inherit from geometry to reduce size. since each edge has 4 pointers.
◆ ~IEdge()
virtual HydroCouple::Spatial::IEdge::~IEdge |
( |
| ) |
|
|
virtualdefault |
◆ dest()
virtual IVertex * HydroCouple::Spatial::IEdge::dest |
( |
| ) |
|
|
pure virtual |
The destination IVertex of this IEdge.
- Returns
- the destination of this IEdge; NULL if currently unknown.
◆ destNext()
virtual IEdge * HydroCouple::Spatial::IEdge::destNext |
( |
| ) |
|
|
pure virtual |
The next ccw edge around (into) the destination of this edge.
- Returns
- The next edge to the destination; will be nonnull
◆ destPrev()
virtual IEdge * HydroCouple::Spatial::IEdge::destPrev |
( |
| ) |
|
|
pure virtual |
The next cw edge around (into) the destination of this edge.
- Returns
- The previous edge to the destination; will be nonnull
◆ face()
virtual IPolygon * HydroCouple::Spatial::IEdge::face |
( |
| ) |
|
|
pure virtual |
The target face of this edge, if dual. Otherwise null if not dual.
- Returns
◆ index()
virtual unsigned int HydroCouple::Spatial::IEdge::index |
( |
| ) |
const |
|
pure virtual |
unique index identifier
- Returns
◆ invRot()
virtual IEdge * HydroCouple::Spatial::IEdge::invRot |
( |
| ) |
|
|
pure virtual |
The dual of this IEdge, directed from its left to its right.
- Returns
- The left to right dual of this edge; will be nonnull
◆ left()
virtual IPolygon * HydroCouple::Spatial::IEdge::left |
( |
| ) |
|
|
pure virtual |
The left face of this edge.
- Returns
- the left face of this edge; Null if currently unknown
◆ leftNext()
virtual IEdge * HydroCouple::Spatial::IEdge::leftNext |
( |
| ) |
|
|
pure virtual |
The ccw edge around the left face following this edge.
- Returns
- The next left face edge; will be nonnull
◆ leftPrev()
virtual IEdge * HydroCouple::Spatial::IEdge::leftPrev |
( |
| ) |
|
|
pure virtual |
The ccw edge around the left face before this edge.
- Returns
- The previous left face edge; will be nonnull
◆ orig()
virtual IVertex * HydroCouple::Spatial::IEdge::orig |
( |
| ) |
|
|
pure virtual |
The origin IVertex of this IEdge.
- Returns
- the origin of this IEdge; NULL if currently unknown.
◆ origNext()
virtual IEdge * HydroCouple::Spatial::IEdge::origNext |
( |
| ) |
|
|
pure virtual |
The next ccw edge around (from) the origin of this IEdge.
- Returns
- The next edge from the origin; will be nonnull
◆ origPrev()
virtual IEdge * HydroCouple::Spatial::IEdge::origPrev |
( |
| ) |
|
|
pure virtual |
The next cw edge around (from) the origin of this edge.
- Returns
- The previous edge from the origin; will be nonnull
◆ right()
virtual IPolygon * HydroCouple::Spatial::IEdge::right |
( |
| ) |
|
|
pure virtual |
The right face of this edge.
- Returns
- The right face of this edge; null if currently unknown
◆ rightNext()
virtual IEdge * HydroCouple::Spatial::IEdge::rightNext |
( |
| ) |
|
|
pure virtual |
The edge around the right face ccw following this edge.
- Returns
- The next right face edge; will be nonnull
◆ rightPrev()
virtual IEdge * HydroCouple::Spatial::IEdge::rightPrev |
( |
| ) |
|
|
pure virtual |
The IEdge around the right face ccw before this IEdge.
- Returns
- The previous right face edge; will be nonnull
◆ rot()
virtual IEdge * HydroCouple::Spatial::IEdge::rot |
( |
| ) |
|
|
pure virtual |
The dual of this edge, directed from its right to its left.
- Returns
- The right to left dual of this edge; will be nonnull
◆ sym()
virtual IEdge * HydroCouple::Spatial::IEdge::sym |
( |
| ) |
|
|
pure virtual |
The IEdge from the destination to the origin of this IEdge.
- Returns
- The symmetric of this edge; will be nonnull
The documentation for this class was generated from the following file: