VR-Forces 4.0.4 Class Documentation
Public Member Functions
DtNetworkEdgeMetric Class Reference

Metric for network segments. More...

Inheritance diagram for DtNetworkEdgeMetric:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtNetworkEdgeMetric ()
 Default constructor.
virtual ~DtNetworkEdgeMetric ()
 Destructor.
 DtNetworkEdgeMetric (const DtNetworkEdgeMetric &orig)
 Copy constructor.
DtNetworkEdgeMetricoperator= (const DtNetworkEdgeMetric &orig)
 Assignment operator.
virtual double measure (const DtNetworkEdge &edge) const =0
 Measures the edge based on the metric's characteristics.
virtual bool valid (const DtNetworkEdge &edge) const =0
 Validates the edge.
virtual bool validSW (double xx, double yy) const =0
 Validates the southwest quadrant (closed on southwest side)
virtual bool validSE (double xx, double yy) const =0
 Validates the southeast quadrant (closed on southwest side)
virtual bool validNE (double xx, double yy) const =0
 Validates the northeast quadrant (closed on southwest side)
virtual bool validNW (double xx, double yy) const =0
 Validates the northwest quadrant (closed on southwest side)
virtual double heuristic (const DtPoint &source, const DtPoint &dest) const =0
 A heuristic measure for two points.

Detailed Description

Metric for network segments.


Constructor & Destructor Documentation

Default constructor.

Destructor.

Copy constructor.


Member Function Documentation

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

Assignment operator.

virtual double DtNetworkEdgeMetric::measure ( const DtNetworkEdge edge) const [pure virtual]

Measures the edge based on the metric's characteristics.

Implemented in DtDistanceNetworkEdgeMetric.

virtual bool DtNetworkEdgeMetric::valid ( const DtNetworkEdge edge) const [pure virtual]

Validates the edge.

Implemented in DtDistanceNetworkEdgeMetric.

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

Validates the southwest quadrant (closed on southwest side)

Implemented in DtDistanceNetworkEdgeMetric.

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

Validates the southeast quadrant (closed on southwest side)

Implemented in DtDistanceNetworkEdgeMetric.

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

Validates the northeast quadrant (closed on southwest side)

Implemented in DtDistanceNetworkEdgeMetric.

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

Validates the northwest quadrant (closed on southwest side)

Implemented in DtDistanceNetworkEdgeMetric.

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

A heuristic measure for two points.

Implemented in DtDistanceNetworkEdgeMetric.


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)