14#include "arccore/base/Real2.h"
30 i >>
x >> std::ws >>
y;
38print(std::ostream& o)
const
50 o <<
'(' <<
x <<
',' <<
y <<
')';
std::ostream & printXy(std::ostream &o) const
Writes the pair to stream o in the form (x,y).
std::ostream & print(std::ostream &o) const
Writes the pair to stream o readable by an assign().
constexpr __host__ __device__ Real2 & assign(Real ax, Real ay)
Assigns the triplet (ax,ay,az) to the instance.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Real y
second component of the pair
Real x
first component of the pair