Public Member Functions |
| | DtXyNetworkSegmentMetric () |
| virtual | ~DtXyNetworkSegmentMetric () |
| | DtXyNetworkSegmentMetric (const DtXyNetworkSegmentMetric &orig) |
| DtXyNetworkSegmentMetric & | operator= (const DtXyNetworkSegmentMetric &orig) |
| virtual double | measure (const DtNetworkSegment &seg) const |
| | Measure the segment.
|
| virtual double | measureDistanceSquaredFromSegment (const DtNetworkSegment &seg) const |
| virtual double | measureDistanceSquaredAlongSegment (const DtNetworkSegment &seg) const |
| virtual bool | valid (const DtNetworkSegment &seg) const |
| | Validate the segment.
|
| 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 void | setX0Y0X1Y1 (double x0, double y0, double x1, double y1) |
| virtual double | maxRange () const |
| virtual void | setMaxRange (double maxRange) |
| virtual bool | measuresDistanceFromSegment () const |
| virtual void | setMeasuresDistanceFromSegment (bool flag) |
| virtual double | distance (const DtNetworkSegment &seg, double &condX, double &condY, double &netX, double &netY) |
| virtual double | distance (const DtNetworkSegment &seg) |
| | DtNetworkSegmentMetric () |
| | Default constructor.
|
| virtual | ~DtNetworkSegmentMetric () |
| | Destructor.
|
| | DtNetworkSegmentMetric (const DtNetworkSegmentMetric &orig) |
| | Copy constructor.
|
| DtNetworkSegmentMetric & | operator= (const DtNetworkSegmentMetric &orig) |
| | Assignment operator.
|
| | 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.
|