Point4
touchgfx/Math3D.hpp
This class represents a homogeneous 3D point.
See: Quadruple
Inherits from: Quadruple
Public Functions
FORCE_INLINE_FUNCTION | Point4() |
Initializes a new instance of the Point4 class. | |
FORCE_INLINE_FUNCTION | Point4(float x, float y, float z) |
Initializes a new instance of the Point4 class. | |
Additional inherited members
Public Functions inherited from Quadruple
FORCE_INLINE_FUNCTION float | getElement(int row) const |
Gets an element. | |
FORCE_INLINE_FUNCTION float | getW() const |
Get w coordinate. | |
FORCE_INLINE_FUNCTION float | getX() const |
Get x coordinate. | |
FORCE_INLINE_FUNCTION float | getY() const |
Get y coordinate. | |
FORCE_INLINE_FUNCTION float | getZ() const |
Get z coordinate. | |
FORCE_INLINE_FUNCTION void | setElement(int row, float value) |
Sets an element. | |
FORCE_INLINE_FUNCTION void | setW(float value) |
Sets a w coordinate. | |
FORCE_INLINE_FUNCTION void | setX(float value) |
Sets an x coordinate. | |
FORCE_INLINE_FUNCTION void | setY(float value) |
Sets a y coordinate. | |
FORCE_INLINE_FUNCTION void | setZ(float value) |
Sets a z coordinate. | |
Protected Functions inherited from Quadruple
FORCE_INLINE_FUNCTION | Quadruple() |
Initializes a new instance of the Quadruple class. | |
FORCE_INLINE_FUNCTION | Quadruple(float x, float y, float z, float w) |
Initializes a new instance of the Quadruple class. | |
Protected Attributes inherited from Quadruple
float | elements |
The elements[4]. | |