VR-Forces 4.0.4 Class Documentation
Public Member Functions
DtDistanceNetworkEdgeMetric Class Reference
Inheritance diagram for DtDistanceNetworkEdgeMetric:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtDistanceNetworkEdgeMetric ()
 default constructor
virtual ~DtDistanceNetworkEdgeMetric ()
 destructor
 DtDistanceNetworkEdgeMetric (const DtDistanceNetworkEdgeMetric &orig)
 copy constructor
DtDistanceNetworkEdgeMetricoperator= (const DtDistanceNetworkEdgeMetric &orig)
 assignment operator
virtual double measure (const DtNetworkEdge &edge) const
 measure the edge
virtual bool valid (const DtNetworkEdge &edge) const
 validate the edge
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 double heuristic (const DtPoint &source, const DtPoint &dest) const
 A heuristic measure for two points.

Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

DtDistanceNetworkEdgeMetric& DtDistanceNetworkEdgeMetric::operator= ( const DtDistanceNetworkEdgeMetric orig)

assignment operator

virtual double DtDistanceNetworkEdgeMetric::measure ( const DtNetworkEdge edge) const [virtual]

measure the edge

Implements DtNetworkEdgeMetric.

virtual bool DtDistanceNetworkEdgeMetric::valid ( const DtNetworkEdge edge) const [virtual]

validate the edge

Implements DtNetworkEdgeMetric.

virtual bool DtDistanceNetworkEdgeMetric::validSW ( double  xx,
double  yy 
) const [virtual]

validate the southwest quadrant (closed on southwest side)

Implements DtNetworkEdgeMetric.

virtual bool DtDistanceNetworkEdgeMetric::validSE ( double  xx,
double  yy 
) const [virtual]

validate the southeast quadrant (closed on southwest side)

Implements DtNetworkEdgeMetric.

virtual bool DtDistanceNetworkEdgeMetric::validNE ( double  xx,
double  yy 
) const [virtual]

validate the northeast quadrant (closed on southwest side)

Implements DtNetworkEdgeMetric.

virtual bool DtDistanceNetworkEdgeMetric::validNW ( double  xx,
double  yy 
) const [virtual]

validate the northwest quadrant (closed on southwest side)

Implements DtNetworkEdgeMetric.

virtual double DtDistanceNetworkEdgeMetric::heuristic ( const DtPoint source,
const DtPoint dest 
) const [virtual]

A heuristic measure for two points.

By default, it uses the Euclidean distance as the heuristic measure for two points.

Implements DtNetworkEdgeMetric.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)