![]() |
PIP 5.9.0
Platform-Independent Primitives
|
The PIPoint class provides a two-dimensional point on the plane. More...
#include "pimathbase.h"Classes | |
| class | PIPoint< Type > |
| Two-dimensional point. More... | |
Typedefs | |
| typedef PIPoint< int > | PIPointi |
| Alias for point with int coordinates. | |
| typedef PIPoint< uint > | PIPointu |
| Alias for point with uint coordinates. | |
| typedef PIPoint< float > | PIPointf |
| Alias for point with float coordinates. | |
| typedef PIPoint< double > | PIPointd |
| Alias for point with double coordinates. | |
Functions | |
| template<typename Type> | |
| constexpr PIPoint< Type > | piAbs (const PIPoint< Type > &v) |
| Returns {|x|, |y|}. | |
| template<typename Type> | |
| PICout | operator<< (PICout &s, const PIPoint< Type > &v) |
| Writes point coordinates to PICout. | |
The PIPoint class provides a two-dimensional point on the plane.