2D shape.
More...
#include <Point.hpp>
2D shape.
Definition at line 21 of file Point.hpp.
◆ Point() [1/4]
galaxy::components::Point::Point |
( |
| ) |
|
◆ Point() [2/4]
galaxy::components::Point::Point |
( |
const nlohmann::json & | json | ) |
|
JSON constructor.
- Parameters
-
json | JSON defining object. |
Definition at line 21 of file Point.cpp.
◆ Point() [3/4]
galaxy::components::Point::Point |
( |
Point && | p | ) |
|
Move constructor.
Definition at line 27 of file Point.cpp.
◆ ~Point()
galaxy::components::Point::~Point |
( |
| ) |
|
|
virtual |
◆ Point() [4/4]
galaxy::components::Point::Point |
( |
const Point & | | ) |
|
|
privatedelete |
◆ operator=() [1/2]
Point & galaxy::components::Point::operator= |
( |
Point && | p | ) |
|
Move assignment operator.
Definition at line 33 of file Point.cpp.
◆ serialize()
nlohmann::json galaxy::components::Point::serialize |
( |
| ) |
|
|
nodiscardoverridevirtual |
◆ deserialize()
void galaxy::components::Point::deserialize |
( |
const nlohmann::json & | json | ) |
|
|
overridevirtual |
◆ operator=() [2/2]
Point & galaxy::components::Point::operator= |
( |
const Point & | | ) |
|
|
privatedelete |
Copy assignment operator.
◆ m_shape
graphics::Point galaxy::components::Point::m_shape |
The documentation for this class was generated from the following files: