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

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

Inheritance diagram for DtNetworkSegmentMetric:
Inheritance graph
[legend]

Public Member Functions

 DtNetworkSegmentMetric ()
 Default constructor. More...
 
virtual ~DtNetworkSegmentMetric ()
 Destructor. More...
 
 DtNetworkSegmentMetric (const DtNetworkSegmentMetric &orig)
 Copy constructor. More...
 
DtNetworkSegmentMetricoperator= (const DtNetworkSegmentMetric &orig)
 Assignment operator. More...
 
virtual double measure (const DtNetworkSegment &seg) const =0
 Measure the segment. More...
 
virtual bool valid (const DtNetworkSegment &seg) const =0
 Validate the segment. More...
 
virtual bool validSW (double xx, double yy) const =0
 Validate the southwest quadrant (closed on southwest side) More...
 
virtual bool validSE (double xx, double yy) const =0
 Validate the southeast quadrant (closed on southwest side) More...
 
virtual bool validNE (double xx, double yy) const =0
 Validate the northeast quadrant (closed on southwest side) More...
 
virtual bool validNW (double xx, double yy) const =0
 Validate the northwest quadrant (closed on southwest side) More...
 
- Public Member Functions inherited from DtMetric
 DtMetric ()
 Default constructor. More...
 
virtual ~DtMetric ()
 Destructor. More...
 
 DtMetric (const DtMetric &orig)
 Copy constructor. More...
 
DtMetricoperator= (const DtMetric &orig)
 Assignment operator. More...
 
virtual bool validSpecification (const DtSpecification &spec) const
 Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions. More...
 
virtual void addEqualCondition (const DtSpecificationAttribute &attrib)
 Adds an equality condition. More...
 
virtual void addDifferentCondition (const DtSpecificationAttribute &attrib)
 Add a different condition. More...
 
virtual void addLessThanCondition (const DtSpecificationAttribute &attrib)
 Add less-than condition. More...
 
virtual void addGreaterThanCondition (const DtSpecificationAttribute &attrib)
 Add greater-than condition. More...
 
virtual void setEqualList (DtSimpleList *list)
 Sets the list of conditions for equality. More...
 
virtual void setDiffList (DtSimpleList *list)
 Sets the list of conditions for difference. More...
 
virtual void setLessThanList (DtSimpleList *list)
 Sets the list of conditions for less-than. More...
 
virtual void setGreaterThanList (DtSimpleList *list)
 Sets the list of conditions for greater-than. More...
 
virtual void initialize (Coordinate_System *cs)
 Initialize the metric. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DtMetric
virtual void emptyLists ()
 Empties the condition lists and frees memory. More...
 
virtual void copyLists (const DtMetric &orig)
 Copy lists. More...
 
- 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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)