VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions
BHAVE::DtAllMetric Class Reference
Inheritance diagram for BHAVE::DtAllMetric:
Inheritance graph
[legend]

Public Member Functions

 DtAllMetric ()
virtual ~DtAllMetric ()
virtual bool circumscribedSquareTest (const DtNetworkSegment &seg) const
 quick check using the square circumscribing the circle around the center of interest.
virtual bool inscribedSquareTest (const DtNetworkSegment &seg) const
 quick check using the square inscribing the circle around the center of interest.
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)
- Public Member Functions inherited from DtRangeNetworkSegmentMetric
 DtRangeNetworkSegmentMetric ()
 Default constructor.
virtual ~DtRangeNetworkSegmentMetric ()
 Destructor.
 DtRangeNetworkSegmentMetric (const DtRangeNetworkSegmentMetric &orig)
 Vopy constructor.
DtRangeNetworkSegmentMetricoperator= (const DtRangeNetworkSegmentMetric &orig)
 Assignment operator.
virtual double measure (const DtNetworkSegment &seg) const
 Measure the seg by its distance from the center of interest.
virtual bool valid (const DtNetworkSegment &seg) const
 validate the segment
virtual const DtPointcenterOfInterest () const
 get/set center of interest
virtual void setCenterOfInterest (const DtPoint &val)
virtual DtVector vectorCenterOfInterest () const
 get/set center of interest–DtVector form
virtual void setCenterOfInterest (const DtVector &val)
virtual double maxRange () const
 get/set range
virtual void setMaxRange (double val)
virtual double measureMultiplier () const
 get/set measure multiplier
virtual void setMeasureMultiplier (double val)
virtual bool evalInZ () const
 get/set evaluation in Z
virtual void setEvalInZ (bool evalInZ)
virtual double closestPointInXY (const DtNetworkSegment &seg, const DtPoint &pointFrom, DtPoint &closest)
 Finds the closest point on the segment projected and returns it in database coords along with distance to that point.
virtual void initialize (Coordinate_System *cs)
 Initialize the metric.
- Public Member Functions inherited from DtNetworkSegmentMetric
 DtNetworkSegmentMetric ()
 Default constructor.
virtual ~DtNetworkSegmentMetric ()
 Destructor.
 DtNetworkSegmentMetric (const DtNetworkSegmentMetric &orig)
 Copy constructor.
DtNetworkSegmentMetricoperator= (const DtNetworkSegmentMetric &orig)
 Assignment operator.
- Public Member Functions inherited from DtMetric
 DtMetric ()
 Default constructor.
virtual ~DtMetric ()
 Destructor.
 DtMetric (const DtMetric &orig)
 Copy constructor.
DtMetricoperator= (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.

Additional Inherited Members

- Protected Member Functions inherited from DtRangeNetworkSegmentMetric
virtual double closestPointInXY (const DtNetworkSegment &seg, const DtPoint &pointFrom) const
virtual double distanceToPoint (const DtNetworkSegment &seg, const DtPoint &point) const
- Protected Attributes inherited from DtRangeNetworkSegmentMetric
DtPoint myCenterOfInterest
double myMaxRange
double myMeasureMultiplier
bool myEvalInZ

Constructor & Destructor Documentation

BHAVE::DtAllMetric::DtAllMetric ( )
inline
virtual BHAVE::DtAllMetric::~DtAllMetric ( )
inlinevirtual

Member Function Documentation

virtual bool BHAVE::DtAllMetric::circumscribedSquareTest ( const DtNetworkSegment seg) const
inlinevirtual

quick check using the square circumscribing the circle around the center of interest.

Reimplemented from DtRangeNetworkSegmentMetric.

virtual bool BHAVE::DtAllMetric::inscribedSquareTest ( const DtNetworkSegment seg) const
inlinevirtual

quick check using the square inscribing the circle around the center of interest.

Reimplemented from DtRangeNetworkSegmentMetric.

virtual bool BHAVE::DtAllMetric::validSW ( double  xx,
double  yy 
) const
inlinevirtual

validate the southwest quadrant (closed on southwest side)

Reimplemented from DtRangeNetworkSegmentMetric.

virtual bool BHAVE::DtAllMetric::validSE ( double  xx,
double  yy 
) const
inlinevirtual

validate the southeast quadrant (closed on southwest side)

Reimplemented from DtRangeNetworkSegmentMetric.

virtual bool BHAVE::DtAllMetric::validNE ( double  xx,
double  yy 
) const
inlinevirtual

validate the northeast quadrant (closed on southwest side)

Reimplemented from DtRangeNetworkSegmentMetric.

virtual bool BHAVE::DtAllMetric::validNW ( double  xx,
double  yy 
) const
inlinevirtual

validate the northwest quadrant (closed on southwest side)

Reimplemented from DtRangeNetworkSegmentMetric.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)