Tobii Pro SDK .NET 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.
 
bool Equals (Point3D other)
 Checks if this point is equal to another Point3D .
 
override bool Equals (object obj)
 Checks if this point is equal to another Point3D .
 
override int GetHashCode ()
 Returns a hash code for this object. This is used internally in collections.
 

Static Public Member Functions

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

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Point3D()

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

◆ Equals() [1/2]

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.

◆ Equals() [2/2]

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.

◆ GetHashCode()

override int Tobii.Research.Point3D.GetHashCode ( )
inline

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

Returns
A hash code.

◆ operator!=()

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.

◆ operator==()

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.