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

Contains the DtLclVerticesNotEqualPredicate class declaration. More...

Inheritance diagram for DtLclVerticesNotEqualPredicate:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtLclVerticesNotEqualPredicate (double tolerance=double(0.05), bool negate=false)
 default constructor
virtual ~DtLclVerticesNotEqualPredicate ()
 destructor
 DtLclVerticesNotEqualPredicate (const DtLclVerticesNotEqualPredicate &orig)
 copy constructor
DtLclVerticesNotEqualPredicateoperator= (const DtLclVerticesNotEqualPredicate &orig)
 assignment operator
virtual DtVrfObjectPredicateclone () const
 clone function
virtual void setLocalVertices (const DtLocalVertexList &vertices)
virtual const DtLocalVertexListlocalVertices () const
virtual double getTolerance () const
 Tolerance to adjust for floating point error.
virtual void setTolerance (double tolerance)

Protected Member Functions

virtual bool eval (const DtVrfObject *object)
 The actual test this predicate performs.
virtual bool predicateEqual (const DtVrfObjectPredicate &orig) const
 Used by equality operator used to compare predicates.
void emptyVertexList ()
 Not virtual because they are called from constructors, destructor.
void copyVertexList (const DtLocalVertexList &vertices)

Protected Attributes

DtLocalVertexList myVertices
double myTolerance

Detailed Description

Contains the DtLclVerticesNotEqualPredicate class declaration.

Instances of DtLclVerticesNotEqualPredicate are used to compare vectors. A tolerance is added to counter small changes, such as those caused by floating point error.


Constructor & Destructor Documentation

DtLclVerticesNotEqualPredicate::DtLclVerticesNotEqualPredicate ( double  tolerance = double(0.05),
bool  negate = false 
)

default constructor

destructor

copy constructor


Member Function Documentation

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

assignment operator

clone function

Implements DtVrfObjectPredicate.

virtual void DtLclVerticesNotEqualPredicate::setLocalVertices ( const DtLocalVertexList vertices) [virtual]
virtual double DtLclVerticesNotEqualPredicate::getTolerance ( ) const [virtual]

Tolerance to adjust for floating point error.

virtual void DtLclVerticesNotEqualPredicate::setTolerance ( double  tolerance) [virtual]
virtual bool DtLclVerticesNotEqualPredicate::eval ( const DtVrfObject object) [protected, virtual]

The actual test this predicate performs.

Implements DtVrfObjectPredicate.

virtual bool DtLclVerticesNotEqualPredicate::predicateEqual ( const DtVrfObjectPredicate orig) const [protected, virtual]

Used by equality operator used to compare predicates.

Reimplemented from DtVrfObjectPredicate.

Not virtual because they are called from constructors, destructor.

void DtLclVerticesNotEqualPredicate::copyVertexList ( const DtLocalVertexList vertices) [protected]

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)