VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
DtNetworkSegmentMetric Class Reference

DtNetworkSegmentMetric is a metric for network segments. More...

Inheritance diagram for DtNetworkSegmentMetric:
Inheritance graph
[legend]

Public Member Functions

 DtNetworkSegmentMetric ()
 Default constructor.
virtual ~DtNetworkSegmentMetric ()
 Destructor.
 DtNetworkSegmentMetric (const DtNetworkSegmentMetric &orig)
 Copy constructor.
DtNetworkSegmentMetricoperator= (const DtNetworkSegmentMetric &orig)
 Assignment operator.
virtual double measure (const DtNetworkSegment &seg) const =0
 Measure the segment.
virtual bool valid (const DtNetworkSegment &seg) const =0
 Validate the segment.
virtual bool validSW (double xx, double yy) const =0
 Validate the southwest quadrant (closed on southwest side)
virtual bool validSE (double xx, double yy) const =0
 Validate the southeast quadrant (closed on southwest side)
virtual bool validNE (double xx, double yy) const =0
 Validate the northeast quadrant (closed on southwest side)
virtual bool validNW (double xx, double yy) const =0
 Validate the northwest quadrant (closed on southwest side)
- 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.
virtual void initialize (Coordinate_System *cs)
 Initialize the metric.

Additional Inherited Members

- Protected Member Functions inherited from DtMetric
virtual void emptyLists ()
 Empties the condition lists and frees memory.
virtual void copyLists (const DtMetric &orig)
 Copy lists.
- Protected Attributes inherited from DtMetric
bool myOwnEqualList
bool myOwnDiffList
bool myOwnLessThanList
bool myOwnGreaterThanList
DtSimpleListmyEqualAttributes
DtSimpleListmyDifferentAttributes
DtSimpleListmyGreaterThanAttributes
DtSimpleListmyLessThanAttributes
DtCoordTransform myLocalToTopo
bool myMetricInitialized

Detailed Description

DtNetworkSegmentMetric is a metric for network segments.

Constructor & Destructor Documentation

DtNetworkSegmentMetric::DtNetworkSegmentMetric ( )

Default constructor.

virtual DtNetworkSegmentMetric::~DtNetworkSegmentMetric ( )
virtual

Destructor.

DtNetworkSegmentMetric::DtNetworkSegmentMetric ( const DtNetworkSegmentMetric orig)

Copy constructor.

Member Function Documentation

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

Assignment operator.

virtual double DtNetworkSegmentMetric::measure ( const DtNetworkSegment seg) const
pure virtual
virtual bool DtNetworkSegmentMetric::valid ( const DtNetworkSegment seg) const
pure virtual
virtual bool DtNetworkSegmentMetric::validSW ( double  xx,
double  yy 
) const
pure virtual

Validate the southwest quadrant (closed on southwest side)

Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.

virtual bool DtNetworkSegmentMetric::validSE ( double  xx,
double  yy 
) const
pure virtual

Validate the southeast quadrant (closed on southwest side)

Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.

virtual bool DtNetworkSegmentMetric::validNE ( double  xx,
double  yy 
) const
pure virtual

Validate the northeast quadrant (closed on southwest side)

Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.

virtual bool DtNetworkSegmentMetric::validNW ( double  xx,
double  yy 
) const
pure virtual

Validate the northwest quadrant (closed on southwest side)

Implemented in DtIntersectNetworkSegmentMetric, DtXyNetworkSegmentMetric, DtSingleIntersectNetworkSegmentMetric, and DtRangeNetworkSegmentMetric.


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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)