 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
24 #ifndef R_DOUBLEPOINT_HH
25 #define R_DOUBLEPOINT_HH
129 std::vector<double> points;
bool operator!=(const r_PointDouble &vectorArg) const
std::uint32_t r_Dimension
number of dimensions in r_Point and r_Minterval.
Definition: mddtypes.hh:56
r_PointDouble & operator-=(const r_PointDouble &a) noexcept(false)
int compare_with(const r_PointDouble &p) const
compares this point with the given point.
r_PointDouble operator+(const r_PointDouble &vectorArg) const
Two points are equal if they have the same number of dimensions and the same values.
double dotProduct(const r_PointDouble &r) const
scalar product
r_Dimension dimension() const
same as std::vector::size()
const r_PointDouble & operator=(const r_PointDouble &)
assignment: cleanup + copy
bool operator==(const r_PointDouble &vectorArg) const
Returns 0 if this == p, -1 if this < p, 1 if this > p (considering the coordinates in lexicographic o...
double operator[](size_t) const
subscriptor for read access
Class r_Point represents an n-dimensional point vector.
Definition: point.hh:42
Class r_PointDouble represents an n-dimensional point of double coordinates.
Definition: pointdouble.hh:44
void print_status(std::ostream &s) const
writes the state of the object to the specified stream
r_PointDouble operator*(const r_PointDouble &vectorArg) const
diagonal extension of multiplication across the cartesian product
r_PointDouble(r_Dimension)
constructor getting dimensionality for stream initializing
r_PointDouble operator-(const r_PointDouble &vectorArg) const
std::vector subtraction
r_Point toIntPoint() const
converts the stored vector to an r_Point (integer vertices)
r_PointDouble & operator+=(const r_PointDouble &a) noexcept(false)
Same as above but of the form PointA op= PointB; PointA is modified in place.
bool operator<(const r_PointDouble &vectorArg) const
const std::vector< double > & getVectorContent() const
returns the stored vector
~r_PointDouble()
destructor: cleanup dynamic memory
r_PointDouble & operator*=(const r_PointDouble &a) noexcept(false)