rtVTK  0.6.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | Friends
uiCore::Trackball::xyPair Struct Reference

Two-dimensional coordinate, used internally. More...

List of all members.

Public Member Functions

 xyPair (const Mouse::xyCoord &xy)
 xyPair (float x_, float y_)
 xyPair (float n)
 xyPair ()

Public Attributes

float x
float y

Friends

xyPair operator+ (const xyPair &lhs, const xyPair &rhs)
xyPair operator- (const xyPair &lhs, const xyPair &rhs)
xyPair operator* (const xyPair &lhs, const xyPair &rhs)
xyPair operator/ (const xyPair &lhs, const xyPair &rhs)
float Dot (const xyPair &lhs, const xyPair &rhs)

Detailed Description

Two-dimensional coordinate, used internally.

May throw a warning with certain compilers due to casting int values to floating point values in the first overload.


Constructor & Destructor Documentation

uiCore::Trackball::xyPair::xyPair ( float  x_,
float  y_ 
) [inline]
uiCore::Trackball::xyPair::xyPair ( float  n) [inline]

Friends And Related Function Documentation

float Dot ( const xyPair lhs,
const xyPair rhs 
) [friend]
xyPair operator* ( const xyPair lhs,
const xyPair rhs 
) [friend]
xyPair operator+ ( const xyPair lhs,
const xyPair rhs 
) [friend]
xyPair operator- ( const xyPair lhs,
const xyPair rhs 
) [friend]
xyPair operator/ ( const xyPair lhs,
const xyPair rhs 
) [friend]

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends