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
Écrit le couple dans le flux o sous la forme (x,y).
std::ostream & print(std::ostream &o) const
Écrit le couple dans le flux o lisible par assign().
constexpr __host__ __device__ Real2 & assign(Real ax, Real ay)
Assigne le triplet (ax,ay,az) à l'instance.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Real y
deuxième composante du couple
Real x
première composante du couple