VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::Dt2dPoint Class Reference

A 2D point. More...

Public Member Functions

 Dt2dPoint (float x=0.0f, float y=0.0f)
 Constructor takes the x & y values,.
Dt2dPointoperator+= (const Dt2dPoint &p2)
 Increment this point by another.
Dt2dPointoperator-= (const Dt2dPoint &p2)
 Decrement this point by another.
bool operator== (const Dt2dPoint &p2) const
 Do these two points have the same values?
bool operator!= (const Dt2dPoint &p2) const
 Do these two points have different values?
Dt2dPoint operator+ (const Dt2dPoint &p2) const
 Create a new point which is these two points added together.
Dt2dPoint operator- (const Dt2dPoint &p2) const
 Create a new point which is this point subtracted by another.

Public Attributes

float myX
float myY

Detailed Description

A 2D point.

Constructor & Destructor Documentation

makVrv::Dt2dPoint::Dt2dPoint ( float  x = 0.0f,
float  y = 0.0f 
)
inline

Constructor takes the x & y values,.

Member Function Documentation

Dt2dPoint& makVrv::Dt2dPoint::operator+= ( const Dt2dPoint p2)
inline

Increment this point by another.

References myX, and myY.

Dt2dPoint& makVrv::Dt2dPoint::operator-= ( const Dt2dPoint p2)
inline

Decrement this point by another.

References myX, and myY.

bool makVrv::Dt2dPoint::operator== ( const Dt2dPoint p2) const
inline

Do these two points have the same values?

References myX, and myY.

bool makVrv::Dt2dPoint::operator!= ( const Dt2dPoint p2) const
inline

Do these two points have different values?

References myX, and myY.

Dt2dPoint makVrv::Dt2dPoint::operator+ ( const Dt2dPoint p2) const
inline

Create a new point which is these two points added together.

References myX, and myY.

Dt2dPoint makVrv::Dt2dPoint::operator- ( const Dt2dPoint p2) const
inline

Create a new point which is this point subtracted by another.

References myX, and myY.

Member Data Documentation

float makVrv::Dt2dPoint::myX
float makVrv::Dt2dPoint::myY

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)