 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
63 explicit r_Point(std::vector<r_Range> pointArg);
143 std::string
to_string(
bool wkt =
false)
const;
146 void checkDimensionMatch(
const r_Point &pt)
const;
149 std::vector<r_Range> points;
150 size_t streamIndex{};
r_Point & operator<<(r_Range)
stream-input operator for stream initializing
std::uint32_t r_Dimension
number of dimensions in r_Point and r_Minterval.
Definition: mddtypes.hh:56
r_Point operator*(const r_Point &) const
vector multiplication
int compare_with(const r_Point &p) const
compares this point with the given point.
r_Dimension DimType
Definition: point.hh:47
bool operator>(const r_Point &) const
r_Point operator-(const r_Point &) const
vector subtraction
bool operator>=(const r_Point &) const
std::vector< r_Range > get_coordinates() const
get vectorized version of the stored point
~r_Point()=default
destructor: cleanup dynamic memory
Class r_Point represents an n-dimensional point vector.
Definition: point.hh:42
std::int64_t r_Range
for axis indexing, e.g.
Definition: mddtypes.hh:53
std::ostream & operator<<(std::ostream &s, const r_Point &d)
r_Point & operator=(const r_Point &)=default
assignment: cleanup + copy
bool operator!=(const r_Point &) const
Two points are equal if they have the same number of dimensions and the same values.
r_Range operator[](r_Dimension) const
subscriptor for read access
r_Dimension dimension() const
get dimensionality
r_Range value_type
Definition: point.hh:46
bool operator<=(const r_Point &) const
r_Point()=default
default constructor
std::string to_string(bool wkt=false) const
The string representation delivered by this method is allocated using malloc() and has to be free us...
bool operator==(const r_Point &) const
Returns 0 if this == p, -1 if this < p, 1 if this > p (considering the coordinates in decreasing orde...
void print_status(std::ostream &s) const
writes the state of the object to the specified stream
bool operator<(const r_Point &) const
r_Range at(r_Dimension) const
subscriptor for read access with bound-checking
r_Point operator+(const r_Point &) const
vector addition
char * get_string_representation() const
gives back the string representation