8 #ifndef singleIntersectNetworkSegmentMetric_H_
9 #define singleIntersectNetworkSegmentMetric_H_
56 virtual bool validSW(
double xx,
double yy)
const;
59 virtual bool validSE(
double xx,
double yy)
const;
62 virtual bool validNE(
double xx,
double yy)
const;
65 virtual bool validNW(
double xx,
double yy)
const;
72 virtual double tolerance()
const;
73 virtual void setTolerance(
double val);
76 void setIntersectX(
double newX);
77 double intersectX()
const;
80 void setIntersectY(
double newY);
81 double intersectY()
const;
84 void setFoundIntersection(
bool yesOrNo);
85 bool foundIntersection()
const;
96 const DtNetworkEdge& edge2, DtReal xValue, DtReal yValue)
const;
99 DtReal xValue, DtReal yValue)
const;
double myIntersectX
Definition: singleIntersectNetworkSegmentMetric.h:106
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
double myIntersectY
Definition: singleIntersectNetworkSegmentMetric.h:107
double myMinY
Definition: singleIntersectNetworkSegmentMetric.h:112
DtNetworkSegmentMetric is a metric for network segments.
Definition: networkSegmentMetric.h:18
virtual bool validSW(double xx, double yy) const =0
Validate the southwest quadrant (closed on southwest side)
Definition: networkSegment.h:26
virtual bool valid(const DtNetworkSegment &seg) const =0
Validate the segment.
const DtNetworkSegment * mySegmentOfInterest
Definition: singleIntersectNetworkSegmentMetric.h:101
bool myFoundIntersection
Definition: singleIntersectNetworkSegmentMetric.h:105
#define DT_DLL_gdb
Definition: gdbDefines.h:25
virtual double measure(const DtNetworkSegment &seg) const =0
Measure the segment.
DtSingleIntersectNetworkSegmentMetric is a metric for finding any (single) intersection of a specifie...
Definition: singleIntersectNetworkSegmentMetric.h:27
Definition: coordSystem.h:54
double myMaxY
Definition: singleIntersectNetworkSegmentMetric.h:110
double myTolerance
Definition: singleIntersectNetworkSegmentMetric.h:103
double myMinX
Definition: singleIntersectNetworkSegmentMetric.h:111
virtual void initialize(Coordinate_System *cs)
Initialize the metric. Use this call to do any additional preparation/initialization before the metri...
virtual bool validNW(double xx, double yy) const =0
Validate the northwest quadrant (closed on southwest side)
Definition: networkEdge.h:28
virtual bool validNE(double xx, double yy) const =0
Validate the northeast quadrant (closed on southwest side)
A DtChord is a finite line segment in 3-space, represented by two points. Data derived from the two e...
DtChord myTopoSegmentOfInterest
Definition: singleIntersectNetworkSegmentMetric.h:102
double myMaxX
Definition: singleIntersectNetworkSegmentMetric.h:109
DtCoordTransform myTopoToLocal
Definition: singleIntersectNetworkSegmentMetric.h:113
virtual bool validSE(double xx, double yy) const =0
Validate the southeast quadrant (closed on southwest side)