A class that represents a position in space.
More...
#include <point.hpp>
|
coordinate_type | x_ |
|
coordinate_type | y_ |
|
A class that represents a position in space.
- A class that represents a position in space, where x is the co-ordinate along the horizontal axis and y being the co-ordinate along the vertical axis.
◆ point() [1/2]
constexpr terminalpp::point::point |
( |
| ) |
|
|
inlineconstexpr |
Default Constructor.
- Constructs a point, leaving the values uninitialized.
◆ point() [2/2]
constexpr terminalpp::point::point |
( |
coordinate_type |
x, |
|
|
coordinate_type |
y |
|
) |
| |
|
inlineconstexpr |
Constructor.
- Constructs a point from a passed in x co-ordinate and a passed in y co-ordinate.
The documentation for this struct was generated from the following file:
- /home/runner/work/terminalpp/terminalpp/include/terminalpp/point.hpp