Point3

Point3
Scaleform::Render::Point3
Declaration
template <class T>
class Point3;
Description

Point3 defines a point in three-dimensional plane, specified by x, y and z coordinates.

Data Members
Data Member 
Description 
x 
Specifies the x (horizontal) coordinate of the point. 
y 
Specifies the y (vertical) coordinate of the point. 
z 
Specifies the z (depth) coordinate of the point. 
Methods
Method 
Description 
 
Sets the coordinate values of the current point to zero. 
Returns the cross product of two points. 
Calculates the distance between the current point and the passed point. 
Calculates the distance squared between two points. 
Div 
Divides the x, y and z coordinate values of the current point by a fixed value. 
Dot 
Returns the dot product of two points. 
Checks if components are set to zero. 
Calculates the magnitude (length) of the point. 
Mul 
Multiplies the current point with the passed value or point. 
Converts the point into its normalized (unit) form. 
Offsets the position; the point is moved into a new position. 
Initializes a new instance of a point. 
Initializes the x, y and z coordinate values of the current point. 
Operators
Operator 
Description 
- 
Changes the sign (positive, negative) of a Point3. 
- 
Subtracts a set value from a Point3. 
!= 
Determines the inequality of two points. 
* 
Multiplies a point with a fixed value. 
*= 
Multiplies the x, y and z coordinate values of the current point with a fixed value. 
/ 
Divides a point by a set value. 
/= 
Divides the coordinate values of a point by a fixed value. 
+ 
Adds a set value to a point. 
+= 
Adds a set value to the coordinates of the current point. 
= 
Assigns a fixed value to the current point. 
-= 
Subtracts a set value from the current point. 
== 
Determines the equality of two points. 
File

Render_Point3.h