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

Protected Member Functions | |
| virtual double | closestPointInXY (const DtNetworkSegment &seg, const DtPoint &pointFrom) const |
| virtual double | distanceToPoint (const DtNetworkSegment &seg, const DtPoint &point) const |
Protected Member Functions inherited from DtMetric | |
| virtual void | emptyLists () |
| virtual void | copyLists (const DtMetric &orig) |
Protected Attributes | |
| DtPoint | myCenterOfInterest |
| double | myMaxRange |
| double | myMeasureMultiplier |
| bool | myEvalInZ |
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 |
| DtRangeNetworkSegmentMetric::DtRangeNetworkSegmentMetric | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtRangeNetworkSegmentMetric::DtRangeNetworkSegmentMetric | ( | const DtRangeNetworkSegmentMetric & | orig | ) |
Vopy constructor.
| DtRangeNetworkSegmentMetric& DtRangeNetworkSegmentMetric::operator= | ( | const DtRangeNetworkSegmentMetric & | orig | ) |
Assignment operator.
|
virtual |
Measure the seg by its distance from the center of interest.
Implements DtNetworkSegmentMetric.
|
virtual |
quick check using the square circumscribing the circle around the center of interest.
|
virtual |
quick check using the square inscribing the circle around the center of interest.
|
virtual |
validate the segment
Implements DtNetworkSegmentMetric.
Reimplemented in DtRangeAndDirectionNetworkSegmentMetric.
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 center of interest–DtVector form
|
virtual |
|
virtual |
get/set range
|
virtual |
|
virtual |
get/set measure multiplier
|
virtual |
|
virtual |
get/set evaluation in Z
|
virtual |
|
virtual |
Finds the closest point on the segment projected and returns it in database coords along with distance to that point.
|
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.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |