566 #include "raslib/minterval.icc"
r_Minterval()
default constructor
r_Area cell_offset(const r_Point &) const
calculate offset in cells for one dimensional access (dimension ordering is high first) ...
void delete_dimension(r_Dimension)
delete the specified dimension
r_Minterval & closure_of(const r_Minterval &, const r_Minterval &)
Definition: sinterval.hh:233
void r_deactivate()
it is called when an object leaves transient memory
~r_Minterval()
destructor: cleanup dynamic memory
const bool is_high_fixed() const
checks if all upper bounds are fixed
r_Minterval & operator-=(const r_Minterval &)
r_Minterval create_scale(const double &) const
returns new interval as scaled from this by a point.
void print_status(std::ostream &s=std::cout) const
writes the state of the object to the specified stream
r_Minterval & difference_with(const r_Minterval &)
r_Dimension streamInitCnt
number of components initialized already
Definition: minterval.hh:550
r_Point cell_point(r_Area) const
calculate point index out of offset
r_Minterval create_reverse_translation(const r_Point &) const
returns new interval as translation of this by a point.
int r_Range
Definition: mddtypes.hh:100
r_Minterval & scale(const double &)
scales this by a factor.
const bool is_origin_fixed() const
checks if all lower bounds are fixed
unsigned int r_Dimension
Definition: mddtypes.hh:118
bool intersects_with(const r_Minterval &) const
determines if the self minterval intersects with the delivered one
void constructorinit(char *)
initialization for constructors which take chars
r_Point get_extent() const
get size of minterval as point.
r_Minterval & reverse_translate(const r_Point &)
translates this by a point.
r_Dimension dimensionality
dimensionality of the domain
Definition: minterval.hh:547
r_Minterval & intersection_of(const r_Minterval &, const r_Minterval &)
r_Sinterval * intervals
array for storing the intervals
Definition: minterval.hh:544
char * get_string_representation() const
gives back the string representation
r_Minterval & operator<<(const r_Sinterval &)
for stream initializing with intervals
r_Minterval & closure_with(const r_Minterval &)
bool is_mergeable(const r_Minterval &other) const
Checks if this block is mergeable with another block (interval)
r_Minterval operator*(const r_Minterval &) const
r_Minterval & operator+=(const r_Minterval &)
r_Minterval & union_of(const r_Minterval &, const r_Minterval &)
uint64_t r_Area
Definition: mddtypes.hh:85
r_Bytes get_storage_size() const
calculate the size of the storage space occupied
r_Minterval create_difference(const r_Minterval &) const
const bool covers(const r_Point &pnt) const
does this interval cover the given point
r_Minterval & difference_of(const r_Minterval &, const r_Minterval &)
unsigned int r_Bytes
Definition: mddtypes.hh:56
r_Dimension dimension() const
get dimensionality
r_Minterval & operator*=(const r_Minterval &)
r_Minterval & union_with(const r_Minterval &)
r_Minterval & intersection_with(const r_Minterval &)
r_Area cell_count() const
calculate number of cells
r_Sinterval operator[](r_Dimension) const
read access the i-th interval
const r_Minterval & operator=(const r_Minterval &)
assignment: cleanup + copy
r_Minterval operator+(const r_Minterval &) const
r_Minterval create_intersection(const r_Minterval &) const
r_Minterval operator-(const r_Minterval &) const
r_Point get_high() const
get highest corner of tile.
r_Minterval & translate(const r_Point &)
translates this by a point.
bool operator!=(const r_Minterval &) const
non equal operator - negation of equal operator
r_Minterval create_translation(const r_Point &) const
returns new interval as translation of this by a point.
r_Point get_origin() const
get lower left corner of minterval.
r_Minterval create_closure(const r_Minterval &) const
r_Minterval create_union(const r_Minterval &) const
Definition: minterval.hh:249
bool operator==(const r_Minterval &) const
equal operator