#include <cone_tracing.hpp>
Collaboration diagram for Arak::ScanEdge:
Definition at line 96 of file cone_tracing.hpp.
Public Member Functions | |
void | init (const Geometry::Point &vertex, const Geometry::Direction &min, const Geometry::Direction &max, Coloring::IntEdgeHandle e) |
Constructor. | |
ScanVertex | min () |
Returns the minimum vertex of this scan edge. | |
ScanVertex | max () |
Returns the maximum vertex of this scan edge. | |
Public Attributes | |
Coloring::IntEdgeHandle | edge |
The handle to the actual edge. | |
Geometry::Direction | dmin |
The direction to the minimum vertex from the scan origin. | |
Geometry::Point | pmin |
The location of the minimum vertex. | |
Geometry::Direction | dmax |
The direction to the maximum vertex from the scan origin. | |
Geometry::Point | pmax |
The location of the maximum vertex. | |
bool | pruned |
This flag is set to true if this edge has been pruned from the scan list. | |
std::list< ScanEdgeHandle >::iterator | it |
If this edge is currently in the scan list, then this iterator points to this edge's location in the scan list. |
|
Constructor.
Definition at line 143 of file cone_tracing.hpp. References Arak::Geometry::Direction, dmax, dmin, Arak::Coloring::IntEdgeHandle, Arak::intersection(), pmax, pmin, Arak::Geometry::Point, pruned, and Arak::Geometry::Segment. Referenced by Arak::computeFirstSonarImpact(), and Arak::coneTrace(). |
|
Returns the maximum vertex of this scan edge.
Definition at line 193 of file cone_tracing.hpp. References Arak::ScanEdgeHandle. |
|
Returns the minimum vertex of this scan edge.
Definition at line 186 of file cone_tracing.hpp. References Arak::ScanEdgeHandle. |
|
The direction to the maximum vertex from the scan origin.
Definition at line 116 of file cone_tracing.hpp. Referenced by Arak::computeFirstSonarImpact(), and init(). |
|
The direction to the minimum vertex from the scan origin.
Definition at line 106 of file cone_tracing.hpp. Referenced by Arak::computeFirstSonarImpact(), and init(). |
|
The handle to the actual edge.
Definition at line 101 of file cone_tracing.hpp. |
|
If this edge is currently in the scan list, then this iterator points to this edge's location in the scan list.
Definition at line 133 of file cone_tracing.hpp. |
|
The location of the maximum vertex.
Definition at line 121 of file cone_tracing.hpp. Referenced by Arak::computeFirstSonarImpact(), and init(). |
|
The location of the minimum vertex.
Definition at line 111 of file cone_tracing.hpp. Referenced by Arak::computeFirstSonarImpact(), and init(). |
|
This flag is set to true if this edge has been pruned from the scan list.
Definition at line 127 of file cone_tracing.hpp. Referenced by init(). |