MRaster lib 21.0.0.0
Image Processing Library
|
Handy class to hold a point in 2D (integer or real) More...
#include <MRpoint2d.hpp>
Public Attributes | |
coordT | x |
X coordinate. | |
coordT | y |
Y coordinate. | |
Constructors | |
point2d ()=default | |
Default constructor. | |
point2d (std::initializer_list< coordT > iList) | |
Construct from an initializer_list. | |
point2d (const point2d &aPoint) | |
Construct from a point2d object – copy constructor. | |
point2d (coordT newX, coordT newY) | |
Construct from coordinates. | |
point2d (std::complex< coordT > aComplex) | |
Construct from a complex number. | |
point2d (std::tuple< coordT, coordT > aTuple) | |
Construct from a tuple. | |
point2d (std::vector< coordT > aVector) | |
Construct from a vector. | |
point2d (coordT *aPtr) | |
Construct from a C-style array. | |
Conversion Operators | |
operator std::complex< coordT > () | |
COnvert to a complex number. | |
~point2d ()=default | |
Handy class to hold a point in 2D (integer or real)
Definition at line 46 of file MRpoint2d.hpp.
|
default |
Default constructor.
|
inline |
Construct from an initializer_list.
Definition at line 56 of file MRpoint2d.hpp.
|
inline |
Construct from a point2d object – copy constructor.
Definition at line 58 of file MRpoint2d.hpp.
References mjr::point2d< coordT >::x, and mjr::point2d< coordT >::y.
|
inline |
Construct from coordinates.
Definition at line 60 of file MRpoint2d.hpp.
|
inline |
Construct from a complex number.
Definition at line 62 of file MRpoint2d.hpp.
|
inline |
Construct from a tuple.
Definition at line 64 of file MRpoint2d.hpp.
|
inline |
Construct from a vector.
Definition at line 66 of file MRpoint2d.hpp.
|
inline |
Construct from a C-style array.
Definition at line 68 of file MRpoint2d.hpp.
|
default |
|
inline |
COnvert to a complex number.
Definition at line 73 of file MRpoint2d.hpp.
coordT mjr::point2d< coordT >::x |
X coordinate.
Definition at line 48 of file MRpoint2d.hpp.
Referenced by mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::geomTfrmRevArb(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::getPxColor(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::getPxColor(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::moveTo(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::moveTo(), and mjr::point2d< coordT >::point2d().
coordT mjr::point2d< coordT >::y |
Y coordinate.
Definition at line 49 of file MRpoint2d.hpp.
Referenced by mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillCircle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawFillTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawLine(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawPoint(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawRectangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::drawTriangle(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::geomTfrmRevArb(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::getPxColor(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::getPxColor(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::moveTo(), mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::moveTo(), and mjr::point2d< coordT >::point2d().