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

Contains the DtRelVerticesNotEqualPredicate class declaration. More...

Inheritance diagram for DtRelVerticesNotEqualPredicate:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRelVerticesNotEqualPredicate (double tolerance=double(0.05), bool negate=false)
 default constructor
virtual ~DtRelVerticesNotEqualPredicate ()
 destructor
 DtRelVerticesNotEqualPredicate (const DtRelVerticesNotEqualPredicate &orig)
 copy constructor
DtRelVerticesNotEqualPredicateoperator= (const DtRelVerticesNotEqualPredicate &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 DtRelVerticesNotEqualPredicate class declaration.

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


Constructor & Destructor Documentation

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

default constructor

destructor

copy constructor


Member Function Documentation

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

assignment operator

clone function

Implements DtVrfObjectPredicate.

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

Tolerance to adjust for floating point error.

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

The actual test this predicate performs.

Implements DtVrfObjectPredicate.

virtual bool DtRelVerticesNotEqualPredicate::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 DtRelVerticesNotEqualPredicate::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)