16#ifndef AEONGUI_DOMPOINTREADONLY_HPP
17#define AEONGUI_DOMPOINTREADONLY_HPP
20#include "DOMString.hpp"
75 DOMString toJSON()
const;
Immutable 4x4 transformation matrix.
Definition DOMMatrixReadOnly.hpp:38
Immutable 3D point with a perspective component.
Definition DOMPointReadOnly.hpp:33
float mW
W (perspective) component.
Definition DOMPointReadOnly.hpp:80
float z() const
Get the Z coordinate.
Definition DOMPointReadOnly.cpp:37
float mZ
Z coordinate.
Definition DOMPointReadOnly.hpp:79
static DOMPointReadOnly fromPoint(const T &point)
Create a DOMPointReadOnly from any point-like object.
Definition DOMPointReadOnly.hpp:63
virtual ~DOMPointReadOnly()
Destructor.
float y() const
Get the Y coordinate.
Definition DOMPointReadOnly.cpp:33
float x() const
Get the X coordinate.
Definition DOMPointReadOnly.cpp:29
float mY
Y coordinate.
Definition DOMPointReadOnly.hpp:78
float w() const
Get the W (perspective) component.
Definition DOMPointReadOnly.cpp:41
DOMPointReadOnly(float x=0.0f, float y=0.0f, float z=0.0f, float w=1.0f)
Construct a point.
Definition DOMPointReadOnly.cpp:24
float mX
X coordinate.
Definition DOMPointReadOnly.hpp:77