16#ifndef AEONGUI_DOMPOINT_HPP
17#define AEONGUI_DOMPOINT_HPP
20#include "aeongui/dom/DOMPointReadOnly.hpp"
40 DOMPoint (
float x = 0.0f,
float y = 0.0f,
float z = 0.0f,
float w = 1.0f );
55 return DOMPoint ( point.x(), point.y(), point.z(), point.w() );
61 float x (
float newX );
66 float y (
float newY );
71 float z (
float newZ );
76 float w (
float newW );
static DOMPoint fromPoint(const T &point)
Create a DOMPoint from any point-like object.
Definition DOMPoint.hpp:53
float x(float newX)
Set the X coordinate.
Definition DOMPoint.cpp:28
float y(float newY)
Set the Y coordinate.
Definition DOMPoint.cpp:34
DOMPoint(float x=0.0f, float y=0.0f, float z=0.0f, float w=1.0f)
Construct a point.
Definition DOMPoint.cpp:22
float z(float newZ)
Set the Z coordinate.
Definition DOMPoint.cpp:40
virtual ~DOMPoint() final
Destructor.
float w(float newW)
Set the W component.
Definition DOMPoint.cpp:46
DOMPointReadOnly(float x=0.0f, float y=0.0f, float z=0.0f, float w=1.0f)
Construct a point.
Definition DOMPointReadOnly.cpp:24