![]() |
VR-Forces 4.0.4 Class Documentation
|
Metric for network segments. More...

Public Member Functions | |
| DtNetworkEdgeMetric () | |
| Default constructor. | |
| virtual | ~DtNetworkEdgeMetric () |
| Destructor. | |
| DtNetworkEdgeMetric (const DtNetworkEdgeMetric &orig) | |
| Copy constructor. | |
| DtNetworkEdgeMetric & | operator= (const DtNetworkEdgeMetric &orig) |
| Assignment operator. | |
| virtual double | measure (const DtNetworkEdge &edge) const =0 |
| Measures the edge based on the metric's characteristics. | |
| virtual bool | valid (const DtNetworkEdge &edge) const =0 |
| Validates the edge. | |
| virtual bool | validSW (double xx, double yy) const =0 |
| Validates the southwest quadrant (closed on southwest side) | |
| virtual bool | validSE (double xx, double yy) const =0 |
| Validates the southeast quadrant (closed on southwest side) | |
| virtual bool | validNE (double xx, double yy) const =0 |
| Validates the northeast quadrant (closed on southwest side) | |
| virtual bool | validNW (double xx, double yy) const =0 |
| Validates the northwest quadrant (closed on southwest side) | |
| virtual double | heuristic (const DtPoint &source, const DtPoint &dest) const =0 |
| A heuristic measure for two points. | |
Metric for network segments.
Default constructor.
| virtual DtNetworkEdgeMetric::~DtNetworkEdgeMetric | ( | ) | [virtual] |
Destructor.
| DtNetworkEdgeMetric::DtNetworkEdgeMetric | ( | const DtNetworkEdgeMetric & | orig | ) |
Copy constructor.
| DtNetworkEdgeMetric& DtNetworkEdgeMetric::operator= | ( | const DtNetworkEdgeMetric & | orig | ) |
Assignment operator.
| virtual double DtNetworkEdgeMetric::measure | ( | const DtNetworkEdge & | edge | ) | const [pure virtual] |
Measures the edge based on the metric's characteristics.
Implemented in DtDistanceNetworkEdgeMetric.
| virtual bool DtNetworkEdgeMetric::valid | ( | const DtNetworkEdge & | edge | ) | const [pure virtual] |
Validates the edge.
Implemented in DtDistanceNetworkEdgeMetric.
| virtual bool DtNetworkEdgeMetric::validSW | ( | double | xx, |
| double | yy | ||
| ) | const [pure virtual] |
Validates the southwest quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
| virtual bool DtNetworkEdgeMetric::validSE | ( | double | xx, |
| double | yy | ||
| ) | const [pure virtual] |
Validates the southeast quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
| virtual bool DtNetworkEdgeMetric::validNE | ( | double | xx, |
| double | yy | ||
| ) | const [pure virtual] |
Validates the northeast quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
| virtual bool DtNetworkEdgeMetric::validNW | ( | double | xx, |
| double | yy | ||
| ) | const [pure virtual] |
Validates the northwest quadrant (closed on southwest side)
Implemented in DtDistanceNetworkEdgeMetric.
| virtual double DtNetworkEdgeMetric::heuristic | ( | const DtPoint & | source, |
| const DtPoint & | dest | ||
| ) | const [pure virtual] |
A heuristic measure for two points.
Implemented in DtDistanceNetworkEdgeMetric.