Tobii Pro SDK Unity API
Tobii.Research.Point3D Class Reference

Represents an x-, y- and z-coordinate point in a three-dimensional space. More...

Inheritance diagram for Tobii.Research.Point3D:
Tobii.Research.NormalizedPoint3D

Public Member Functions

 Point3D (float x, float y, float z)
 Initializes a new instance of the Point3D class given an x, y and z coordinate. More...
 
bool Equals (Point3D other)
 Checks if this point is equal to another Point3D . More...
 
override bool Equals (object obj)
 Checks if this point is equal to another Point3D . More...
 
override int GetHashCode ()
 Returns a hash code for this object. This is used internally in collections. More...
 

Static Public Member Functions

static bool operator== (Point3D obj1, Point3D obj2)
 Checks if two Point3D objects are equal. More...
 
static bool operator!= (Point3D obj1, Point3D obj2)
 Checks if two Point3D objects are not equal. More...
 

Properties

float X [get]
 Gets the position of the point in the X axis. More...
 
float Y [get]
 Gets the position of the point in the Y axis. More...
 
float Z [get]
 Gets the position of the point in the Z axis. More...
 

Detailed Description

Represents an x-, y- and z-coordinate point in a three-dimensional space.

Constructor & Destructor Documentation

Tobii.Research.Point3D.Point3D ( float  x,
float  y,
float  z 
)
inline

Initializes a new instance of the Point3D class given an x, y and z coordinate.

Parameters
xThe x coordinate
yThe y coordinate
zThe Z coordinate

Member Function Documentation

bool Tobii.Research.Point3D.Equals ( Point3D  other)
inline

Checks if this point is equal to another Point3D .

Parameters
otherOther point to check.
Returns
True if obj equals this.
override bool Tobii.Research.Point3D.Equals ( object  obj)
inline

Checks if this point is equal to another Point3D .

Parameters
objOther point to check.
Returns
True if obj equals this.
override int Tobii.Research.Point3D.GetHashCode ( )
inline

Returns a hash code for this object. This is used internally in collections.

Returns
A hash code.
static bool Tobii.Research.Point3D.operator!= ( Point3D  obj1,
Point3D  obj2 
)
inlinestatic

Checks if two Point3D objects are not equal.

Parameters
obj1First point.
obj2Second point.
Returns
True if the points are not equal.
static bool Tobii.Research.Point3D.operator== ( Point3D  obj1,
Point3D  obj2 
)
inlinestatic

Checks if two Point3D objects are equal.

Parameters
obj1First point.
obj2Second point.
Returns
True if the points are equal.

Property Documentation

float Tobii.Research.Point3D.X
get

Gets the position of the point in the X axis.

float Tobii.Research.Point3D.Y
get

Gets the position of the point in the Y axis.

float Tobii.Research.Point3D.Z
get

Gets the position of the point in the Z axis.