#include <coloring.hpp>
Inheritance diagram for Arak::Coloring::BoundaryEdge:
Definition at line 755 of file coloring.hpp.
Public Member Functions | |
BoundaryEdge () | |
Default constructor. | |
VertexHandle | getPrevCornerVertex () |
Returns a reference to the previous corner vertex preceding this boundary edge. | |
const VertexHandle | getPrevCornerVertex () const |
VertexHandle | getNextCornerVertex () |
Returns a reference to the next corner vertex following this boundary edge. | |
const VertexHandle | getNextCornerVertex () const |
Geometry::Point | randomPoint (Arak::Util::Random &random=Arak::Util::default_random) const |
Returns a point sampled uniformly at random from the edge. | |
Protected Attributes | |
VertexHandle | prevCorner |
The first corner vertex encountered by a backwards traversal from this boundary edge. | |
VertexHandle | nextCorner |
The first corner vertex encountered by a forwards traversal from this boundary edge. | |
Friends | |
class | Vertex |
class | Coloring |
|
Default constructor.
Definition at line 779 of file coloring.hpp. References nextCorner, and prevCorner. |
|
Definition at line 792 of file coloring.hpp. References nextCorner, and Arak::Coloring::VertexHandle. |
|
Returns a reference to the next corner vertex following this boundary edge.
Definition at line 791 of file coloring.hpp. References nextCorner, and Arak::Coloring::VertexHandle. Referenced by randomPoint(). |
|
Definition at line 786 of file coloring.hpp. References prevCorner, and Arak::Coloring::VertexHandle. |
|
Returns a reference to the previous corner vertex preceding this boundary edge.
Definition at line 785 of file coloring.hpp. References prevCorner, and Arak::Coloring::VertexHandle. Referenced by randomPoint(). |
|
Returns a point sampled uniformly at random from the edge. If exact geometric constructions are not supported, then this point may not lie exactly on this segment. Note that for short edges, it is possible that one of the endpoints is returned.
Reimplemented from Arak::Coloring::Edge. Definition at line 53 of file coloring.cpp. References getNextCornerVertex(), getPrevCornerVertex(), Point, Arak::Geometry::Point, and Arak::Coloring::VertexHandle. |
|
Reimplemented from Arak::Coloring::Edge. Definition at line 758 of file coloring.hpp. |
|
Reimplemented from Arak::Coloring::Edge. Definition at line 757 of file coloring.hpp. |
|
The first corner vertex encountered by a forwards traversal from this boundary edge. This is cached for efficiency. Definition at line 772 of file coloring.hpp. Referenced by BoundaryEdge(), and getNextCornerVertex(). |
|
The first corner vertex encountered by a backwards traversal from this boundary edge. This is cached for efficiency. Definition at line 766 of file coloring.hpp. Referenced by BoundaryEdge(), and getPrevCornerVertex(). |