![]() |
VR-Forces Developer's Guide
|
DtIntersectNetworkSegmentMetric is a metric for segments in an mx-cif quadtree. The metric is based on distance from a point.

Protected Attributes | |
| const DtTerrainDatabase * | myDb |
| DtChord | myCenterOfInterest |
| DtChord | myTopoCenterOfInterest |
| double | myMaxRange |
| double | myMeasureMultiplier |
| double | myMaxX |
| double | myMaxY |
| double | myMinX |
| double | myMinY |
| double | mySize |
| DtNetworkSegmentHelper | myTopoSeg |
| DtPoint | myTopoSegEndPoint0 |
| DtPoint | myTopoSegEndPoint1 |
| DtPoint | myQ |
| bool | myEvalInZ |
| DtCoordTransform | myTopoToLocal |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from DtMetric | |
| virtual void | emptyLists () |
| virtual void | copyLists (const DtMetric &orig) |
| DtIntersectNetworkSegmentMetric::DtIntersectNetworkSegmentMetric | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtIntersectNetworkSegmentMetric::DtIntersectNetworkSegmentMetric | ( | const DtIntersectNetworkSegmentMetric & | orig | ) |
Copy constructor.
| DtIntersectNetworkSegmentMetric& DtIntersectNetworkSegmentMetric::operator= | ( | const DtIntersectNetworkSegmentMetric & | orig | ) |
Assignment operator.
|
virtual |
Measure the specified segment.
Implements DtNetworkSegmentMetric.
|
virtual |
| p | a reference to a point that is set to the point of intersection between this and the specified segment if one exists |
|
virtual |
Quick check using the square circumscribing the circle around the center of interest.
|
virtual |
Validate the segment.
Implements DtNetworkSegmentMetric.
Validate the southwest quadrant (closed on southwest side)
Implements DtNetworkSegmentMetric.
Validate the southeast quadrant (closed on southwest side)
Implements DtNetworkSegmentMetric.
Validate the northeast quadrant (closed on southwest side)
Implements DtNetworkSegmentMetric.
Validate the northwest quadrant (closed on southwest side)
Implements DtNetworkSegmentMetric.
|
virtual |
get/set center of interest
|
virtual |
|
virtual |
get/set evaluation in Z
|
virtual |
|
virtual |
get/set Intersection range
|
virtual |
|
virtual |
get/set measure multiplier
|
virtual |
|
virtual |
get/set terrain database member
|
virtual |
|
virtual |
Initialize the metric. Use this call to do any additional preparation/initialization before the metric can be used. The vector network calls this function every time a metric is about to be used.
Reimplemented from DtMetric.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |