![]() |
VR-Forces 4.10 Class Documentation
|
DtNetworkSegmentMetric is a metric for network segments. More...

Public Member Functions | |
| DtNetworkSegmentMetric () | |
| Default constructor. More... | |
| virtual | ~DtNetworkSegmentMetric () |
| Destructor. More... | |
| DtNetworkSegmentMetric (const DtNetworkSegmentMetric &orig) | |
| Copy constructor. More... | |
| DtNetworkSegmentMetric & | operator= (const DtNetworkSegmentMetric &orig) |
| Assignment operator. More... | |
| virtual double | measure (const DtNetworkSegment &seg) const =0 |
| Measure the segment. More... | |
| virtual bool | valid (const DtNetworkSegment &seg) const =0 |
| Validate the segment. More... | |
| virtual bool | validSW (double xx, double yy) const =0 |
| Validate the southwest quadrant (closed on southwest side) More... | |
| virtual bool | validSE (double xx, double yy) const =0 |
| Validate the southeast quadrant (closed on southwest side) More... | |
| virtual bool | validNE (double xx, double yy) const =0 |
| Validate the northeast quadrant (closed on southwest side) More... | |
| virtual bool | validNW (double xx, double yy) const =0 |
| Validate the northwest quadrant (closed on southwest side) More... | |
Public Member Functions inherited from DtMetric | |
| DtMetric () | |
| Default constructor. More... | |
| virtual | ~DtMetric () |
| Destructor. More... | |
| DtMetric (const DtMetric &orig) | |
| Copy constructor. More... | |
| DtMetric & | operator= (const DtMetric &orig) |
| Assignment operator. More... | |
| virtual bool | validSpecification (const DtSpecification &spec) const |
| Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions. More... | |
| virtual void | addEqualCondition (const DtSpecificationAttribute &attrib) |
| Adds an equality condition. More... | |
| virtual void | addDifferentCondition (const DtSpecificationAttribute &attrib) |
| Add a different condition. More... | |
| virtual void | addLessThanCondition (const DtSpecificationAttribute &attrib) |
| Add less-than condition. More... | |
| virtual void | addGreaterThanCondition (const DtSpecificationAttribute &attrib) |
| Add greater-than condition. More... | |
| virtual void | setEqualList (DtSimpleList *list) |
| Sets the list of conditions for equality. More... | |
| virtual void | setDiffList (DtSimpleList *list) |
| Sets the list of conditions for difference. More... | |
| virtual void | setLessThanList (DtSimpleList *list) |
| Sets the list of conditions for less-than. More... | |
| virtual void | setGreaterThanList (DtSimpleList *list) |
| Sets the list of conditions for greater-than. More... | |
| virtual void | initialize (Coordinate_System *cs) |
| Initialize the metric. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DtMetric | |
| virtual void | emptyLists () |
| Empties the condition lists and frees memory. More... | |
| virtual void | copyLists (const DtMetric &orig) |
| Copy lists. More... | |
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 |
DtNetworkSegmentMetric is a metric for network segments.
| DtNetworkSegmentMetric::DtNetworkSegmentMetric | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtNetworkSegmentMetric::DtNetworkSegmentMetric | ( | const DtNetworkSegmentMetric & | orig | ) |
Copy constructor.
| DtNetworkSegmentMetric& DtNetworkSegmentMetric::operator= | ( | const DtNetworkSegmentMetric & | orig | ) |
Assignment operator.
|
pure virtual |
Measure the segment.
Implemented in DtIntersectNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.
|
pure virtual |
Validate the segment.
Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, DtRangeNetworkSegmentMetric, and DtRangeAndDirectionNetworkSegmentMetric.
Validate the southwest quadrant (closed on southwest side)
Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.
Validate the southeast quadrant (closed on southwest side)
Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.
Validate the northeast quadrant (closed on southwest side)
Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.
Validate the northwest quadrant (closed on southwest side)
Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.