|
|
using | coordinate_type = int |
| |
|
using | coordinate_reference = coordinate_type & |
| |
|
|
constexpr | FPoint (coordinate_type, coordinate_type) noexcept |
| |
|
constexpr | FPoint (const FPoint &) noexcept=default |
| |
|
constexpr | FPoint (FPoint &&) noexcept=default |
| |
|
constexpr auto | operator= (const FPoint &) noexcept -> FPoint &=default |
| |
|
constexpr auto | operator= (FPoint &&) noexcept -> FPoint &=default |
| |
|
auto | operator+= (const FPoint &) -> FPoint & |
| |
|
auto | operator-= (const FPoint &) -> FPoint & |
| |
|
auto | getClassName () const -> FString |
| |
|
constexpr auto | getX () const noexcept -> coordinate_type |
| |
|
constexpr auto | getY () const noexcept -> coordinate_type |
| |
|
constexpr void | setX (coordinate_type) noexcept |
| |
|
constexpr void | setY (coordinate_type) noexcept |
| |
|
constexpr void | setPoint (const FPoint &) noexcept |
| |
|
constexpr void | setPoint (coordinate_type, coordinate_type) noexcept |
| |
|
constexpr auto | isOrigin () const noexcept -> bool |
| |
|
constexpr auto | x_ref () &noexcept -> coordinate_type & |
| |
|
constexpr auto | y_ref () &noexcept -> coordinate_type & |
| |
|
constexpr void | move (coordinate_type, coordinate_type) noexcept |
| |
|
constexpr void | move (const FPoint &) noexcept |
| |
|
constexpr void | swap (FPoint &) noexcept |
| |
|
|
constexpr auto | operator== (const FPoint &p1, const FPoint &p2) -> bool |
| |
|
constexpr auto | operator!= (const FPoint &p1, const FPoint &p2) -> bool |
| |
|
constexpr auto | operator+ (const FPoint &p1, const FPoint &p2) -> FPoint |
| |
|
constexpr auto | operator- (const FPoint &p1, const FPoint &p2) -> FPoint |
| |
|
constexpr auto | operator- (const FPoint &p) -> FPoint |
| |
|
auto | operator<< (std::ostream &outstr, const FPoint &p) -> std::ostream & |
| |
|
auto | operator>> (std::istream &instr, FPoint &p) -> std::istream & |
| |
The documentation for this class was generated from the following files:
- final/util/fpoint.h
- final/util/fpoint.cpp