VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtNetworkAreaMetric Class Reference

DtNetworkAreaMetric is detect if a point is an area. More...

Inheritance diagram for DtNetworkAreaMetric:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtNetworkAreaMetric ()
 Default constructor.
virtual ~DtNetworkAreaMetric ()
 Destructor.
 DtNetworkAreaMetric (const DtNetworkAreaMetric &orig)
 Copy constructor.
DtNetworkAreaMetricoperator= (const DtNetworkAreaMetric &orig)
 Assignment operator.
virtual double measure (const DtNetworkSegment &seg) const
virtual bool valid (const DtNetworkSegment &seg) const
 Validate the seg using the range, equal, less-than, and greater-than conditions.
virtual const DtPointcenterOfInterest () const
 Get/set center of interest.
virtual void setCenterOfInterest (const DtPoint &centerOfInterest)
virtual DtVector vectorCenterOfInterest () const
 get/set center of interest--DtVector form
virtual void setCenterOfInterest (const DtVector &centerOfInterest)
virtual void initialize (Coordinate_System *cs)
 Initialize the metric.

Protected Attributes

DtPoint myCenterOfInterest
DtVector myTopoCenterOfInterest

Detailed Description

DtNetworkAreaMetric is detect if a point is an area.

It will detect if the segment defines a valid area (valid attributes values and to the right of the point). The measure is: 1 if the point moving to the right intersects the segment or 0 ioc.


Constructor & Destructor Documentation

Default constructor.

Destructor.

Copy constructor.


Member Function Documentation

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

Assignment operator.

virtual double DtNetworkAreaMetric::measure ( const DtNetworkSegment seg) const [virtual]
virtual bool DtNetworkAreaMetric::valid ( const DtNetworkSegment seg) const [virtual]

Validate the seg using the range, equal, less-than, and greater-than conditions.

virtual const DtPoint& DtNetworkAreaMetric::centerOfInterest ( ) const [virtual]

Get/set center of interest.

virtual void DtNetworkAreaMetric::setCenterOfInterest ( const DtPoint centerOfInterest) [virtual]

get/set center of interest--DtVector form

virtual void DtNetworkAreaMetric::setCenterOfInterest ( const DtVector centerOfInterest) [virtual]
virtual void DtNetworkAreaMetric::initialize ( Coordinate_System cs) [virtual]

Initialize the metric.

Use this call to do any additional preparation/initialization before the metric can be used. The vector network calls this function every time a metric is about to be used.

Reimplemented from DtMetric.


Member Data Documentation


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)