![]() |
VR-Forces 4.6.1 Class Documentation
|

Public Member Functions | |
| DtDistanceNetworkEdgeMetric () | |
| default constructor | |
| virtual | ~DtDistanceNetworkEdgeMetric () |
| destructor | |
| DtDistanceNetworkEdgeMetric (const DtDistanceNetworkEdgeMetric &orig) | |
| copy constructor | |
| DtDistanceNetworkEdgeMetric & | operator= (const DtDistanceNetworkEdgeMetric &orig) |
| assignment operator | |
| virtual double | measure (const DtNetworkEdge &edge) const |
| measure the edge | |
| virtual bool | valid (const DtNetworkEdge &edge) const |
| validate the edge | |
| virtual bool | validSW (double xx, double yy) const |
| validate the southwest quadrant (closed on southwest side) | |
| virtual bool | validSE (double xx, double yy) const |
| validate the southeast quadrant (closed on southwest side) | |
| virtual bool | validNE (double xx, double yy) const |
| validate the northeast quadrant (closed on southwest side) | |
| virtual bool | validNW (double xx, double yy) const |
| validate the northwest quadrant (closed on southwest side) | |
| virtual double | heuristic (const DtPoint &source, const DtPoint &dest) const |
| A heuristic measure for two points. | |
Public Member Functions inherited from DtNetworkEdgeMetric | |
| DtNetworkEdgeMetric () | |
| Default constructor. | |
| virtual | ~DtNetworkEdgeMetric () |
| Destructor. | |
| DtNetworkEdgeMetric (const DtNetworkEdgeMetric &orig) | |
| Copy constructor. | |
| DtNetworkEdgeMetric & | operator= (const DtNetworkEdgeMetric &orig) |
| Assignment operator. | |
Public Member Functions inherited from DtMetric | |
| DtMetric () | |
| Default constructor. | |
| virtual | ~DtMetric () |
| Destructor. | |
| DtMetric (const DtMetric &orig) | |
| Copy constructor. | |
| DtMetric & | operator= (const DtMetric &orig) |
| Assignment operator. | |
| virtual bool | validSpecification (const DtSpecification &spec) const |
| Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions. | |
| virtual void | addEqualCondition (const DtSpecificationAttribute &attrib) |
| Adds an equality condition. | |
| virtual void | addDifferentCondition (const DtSpecificationAttribute &attrib) |
| Add a different condition. | |
| virtual void | addLessThanCondition (const DtSpecificationAttribute &attrib) |
| Add less-than condition. | |
| virtual void | addGreaterThanCondition (const DtSpecificationAttribute &attrib) |
| Add greater-than condition. | |
| virtual void | setEqualList (DtSimpleList *list) |
| Sets the list of conditions for equality. | |
| virtual void | setDiffList (DtSimpleList *list) |
| Sets the list of conditions for difference. | |
| virtual void | setLessThanList (DtSimpleList *list) |
| Sets the list of conditions for less-than. | |
| virtual void | setGreaterThanList (DtSimpleList *list) |
| Sets the list of conditions for greater-than. | |
| virtual void | initialize (Coordinate_System *cs) |
| Initialize the metric. | |
Additional Inherited Members | |
Protected Member Functions inherited from DtMetric | |
| virtual void | emptyLists () |
| Empties the condition lists and frees memory. | |
| virtual void | copyLists (const DtMetric &orig) |
| Copy lists. | |
Protected Attributes inherited from DtMetric | |
| bool | myOwnEqualList |
| bool | myOwnDiffList |
| bool | myOwnLessThanList |
| bool | myOwnGreaterThanList |
| DtSimpleList * | myEqualAttributes |
| DtSimpleList * | myDifferentAttributes |
| DtSimpleList * | myGreaterThanAttributes |
| DtSimpleList * | myLessThanAttributes |
| DtCoordTransform | myLocalToTopo |
| bool | myMetricInitialized |
| DtDistanceNetworkEdgeMetric::DtDistanceNetworkEdgeMetric | ( | ) |
default constructor
|
virtual |
destructor
| DtDistanceNetworkEdgeMetric::DtDistanceNetworkEdgeMetric | ( | const DtDistanceNetworkEdgeMetric & | orig | ) |
copy constructor
| DtDistanceNetworkEdgeMetric& DtDistanceNetworkEdgeMetric::operator= | ( | const DtDistanceNetworkEdgeMetric & | orig | ) |
assignment operator
|
virtual |
measure the edge
Implements DtNetworkEdgeMetric.
|
virtual |
validate the edge
Implements DtNetworkEdgeMetric.
validate the southwest quadrant (closed on southwest side)
Implements DtNetworkEdgeMetric.
validate the southeast quadrant (closed on southwest side)
Implements DtNetworkEdgeMetric.
validate the northeast quadrant (closed on southwest side)
Implements DtNetworkEdgeMetric.
validate the northwest quadrant (closed on southwest side)
Implements DtNetworkEdgeMetric.
|
virtual |
A heuristic measure for two points.
By default, it uses the Euclidean distance as the heuristic measure for two points.
Implements DtNetworkEdgeMetric.