Scaleform::Render::Point
template <class T> class Point;
The Point class defines a point in a two-dimensional plane, specified by an x coordinate and y coordinate. The coordinates are public and accessed directly; they can be set either directly or by calling the SetPoint function.
Although the GFx graphics library supplies a complete set of classes for geometric and rendering purposes, the Point provides vertex style operations such as addition, subtraction, division and multiplication; where each component is modified separately.
Enumeration |
Description |
An enumeration used by SetPoint and Point constructors to initialize the point with the minimum (Min) or maximum (Max) point values. |
Method |
Description |
Calculates the angle, in radians, between the current Point and a passed point. | |
Bitwise comparison. | |
Returns the dot product of two points. | |
Calculates the distance squared between two points. | |
Calculates the distance between the current point and the passed point. | |
Calculates the L1 distance Manhattan style. | |
Calculates the L Infinite Distance. | |
Tells whether the point is currently at null (or zero) state. | |
Multiplies the current point with the passed value or point. | |
Offsets the position; the point is moved to a new position. | |
Initializes a new instance of a point. | |
Set to a + (b - a) * t | |
Operator |
Description |
Changes the sign (positive, negative) of a Point. | |
Assigns a fixed value to the current point. | |
Subtracts a set value from the current point. | |
Determines the inequality of the two points. | |
Determines the equality of two points. | |
Subtracts a set value from a Point. | |
Multiplies a point with a fixed value. | |
Divides a point by a set value. | |
Adds a set value to a point. |
Render_Types2D.h