Class Coordinate2D
template <typename T>
Inherited by the following classes: Coordinate3D, Coordinate3D, LineCoord2D
Public Functions
| Type | Name |
|---|---|
| Coordinate2D (T x, T y) |
|
| Coordinate2D () = default |
|
| T | magnitude () const |
| T | magnitude_sqd () const |
| Coordinate2D< double > | offset_to_center () const |
| operator Coordinate2D< U > () const |
|
| Coordinate2D | operator+ (Direction2D dir) const |
| Coordinate2D | operator+ (Coordinate2D o) const |
| Coordinate2D | operator- (Coordinate2D o) const |
| bool | operator== (const Coordinate2D & o) const |
| Coordinate2D< size_t > | round () const |
| Coordinate2D< double > | round_NW (double grid_size) const |
| const T & | x () const |
| T & | x () |
| const T & | y () const |
| T & | y () |
Public Functions Documentation
function Coordinate2D [1/2]
function Coordinate2D [2/2]
function magnitude
function magnitude_sqd
function offset_to_center
function operator Coordinate2D< U >
function operator+
function operator+
function operator-
function operator==
function round
function round_NW
function x [1/2]
function x [2/2]
function y [1/2]
function y [2/2]
Friends Documentation
friend operator<<
The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/utilities/coordinate.hpp