libspatialindex API Reference
(git-trunk)
|
#include <TimeRegion.h>
Public Member Functions | |
TimeRegion () | |
TimeRegion (const double *pLow, const double *pHigh, const Tools::IInterval &ti, uint32_t dimension) | |
TimeRegion (const double *pLow, const double *pHigh, double tStart, double tEnd, uint32_t dimension) | |
TimeRegion (const Point &low, const Point &high, const Tools::IInterval &ti) | |
TimeRegion (const Point &low, const Point &high, double tStart, double tEnd) | |
TimeRegion (const Region &in, const Tools::IInterval &ti) | |
TimeRegion (const Region &in, double tStart, double tEnd) | |
TimeRegion (const TimePoint &low, const TimePoint &high) | |
TimeRegion (const TimeRegion &in) | |
~TimeRegion () override | |
virtual TimeRegion & | operator= (const TimeRegion &r) |
virtual bool | operator== (const TimeRegion &) const |
virtual bool | intersectsRegionInTime (const TimeRegion &in) const |
virtual bool | containsRegionInTime (const TimeRegion &in) const |
virtual bool | touchesRegionInTime (const TimeRegion &in) const |
virtual bool | containsPointInTime (const TimePoint &in) const |
virtual bool | touchesPointInTime (const TimePoint &in) const |
virtual void | combineRegionInTime (const TimeRegion &in) |
virtual void | getCombinedRegionInTime (TimeRegion &out, const TimeRegion &in) const |
TimeRegion * | clone () override |
uint32_t | getByteArraySize () override |
void | loadFromByteArray (const uint8_t *data) override |
void | storeToByteArray (uint8_t **data, uint32_t &len) override |
bool | intersectsShapeInTime (const ITimeShape &in) const override |
bool | intersectsShapeInTime (const Tools::IInterval &ivI, const ITimeShape &in) const override |
bool | containsShapeInTime (const ITimeShape &in) const override |
bool | containsShapeInTime (const Tools::IInterval &ivI, const ITimeShape &in) const override |
bool | touchesShapeInTime (const ITimeShape &in) const override |
bool | touchesShapeInTime (const Tools::IInterval &ivI, const ITimeShape &in) const override |
double | getAreaInTime () const override |
double | getAreaInTime (const Tools::IInterval &ivI) const override |
double | getIntersectingAreaInTime (const ITimeShape &r) const override |
double | getIntersectingAreaInTime (const Tools::IInterval &ivI, const ITimeShape &r) const override |
virtual Tools::IInterval & | operator= (const Tools::IInterval &) |
double | getLowerBound () const override |
double | getUpperBound () const override |
void | setBounds (double, double) override |
bool | intersectsInterval (const Tools::IInterval &ti) const override |
bool | intersectsInterval (Tools::IntervalType t, const double start, const double end) const override |
bool | containsInterval (const Tools::IInterval &ti) const override |
Tools::IntervalType | getIntervalType () const override |
void | makeInfinite (uint32_t dimension) override |
void | makeDimension (uint32_t dimension) override |
Public Member Functions inherited from SpatialIndex::Region | |
Region () | |
Region (const double *pLow, const double *pHigh, uint32_t dimension) | |
Region (const Point &low, const Point &high) | |
Region (const Region &in) | |
~Region () override | |
virtual Region & | operator= (const Region &r) |
virtual bool | operator== (const Region &) const |
bool | intersectsShape (const IShape &in) const override |
bool | containsShape (const IShape &in) const override |
bool | touchesShape (const IShape &in) const override |
void | getCenter (Point &out) const override |
uint32_t | getDimension () const override |
void | getMBR (Region &out) const override |
double | getArea () const override |
double | getMinimumDistance (const IShape &in) const override |
virtual bool | intersectsRegion (const Region &in) const |
virtual bool | containsRegion (const Region &in) const |
virtual bool | touchesRegion (const Region &in) const |
virtual double | getMinimumDistance (const Region &in) const |
virtual bool | intersectsLineSegment (const LineSegment &in) const |
virtual bool | containsPoint (const Point &in) const |
virtual bool | touchesPoint (const Point &in) const |
virtual double | getMinimumDistance (const Point &in) const |
virtual Region | getIntersectingRegion (const Region &r) const |
virtual double | getIntersectingArea (const Region &in) const |
virtual double | getMargin () const |
virtual void | combineRegion (const Region &in) |
virtual void | combinePoint (const Point &in) |
virtual void | getCombinedRegion (Region &out, const Region &in) const |
virtual double | getLow (uint32_t index) const |
virtual double | getHigh (uint32_t index) const |
Public Member Functions inherited from Tools::IObject | |
virtual | ~IObject ()=default |
Public Member Functions inherited from SpatialIndex::IShape | |
~IShape () override=default | |
Public Member Functions inherited from Tools::ISerializable | |
virtual | ~ISerializable ()=default |
Public Member Functions inherited from SpatialIndex::ITimeShape | |
~ITimeShape () override=default | |
Public Member Functions inherited from Tools::IInterval | |
virtual | ~IInterval ()=default |
Public Attributes | |
double | m_startTime |
double | m_endTime |
Public Attributes inherited from SpatialIndex::Region | |
uint32_t | m_dimension {0} |
double * | m_pLow {nullptr} |
double * | m_pHigh {nullptr} |
Friends | |
SIDX_DLL std::ostream & | operator<< (std::ostream &os, const TimeRegion &r) |
Definition at line 32 of file TimeRegion.h.
TimeRegion::TimeRegion | ( | ) |
Definition at line 35 of file TimeRegion.cc.
References m_endTime, m_startTime, and SpatialIndex::Region::Region().
Referenced by clone(), and TimeRegion().
SpatialIndex::TimeRegion::TimeRegion | ( | const double * | pLow, |
const double * | pHigh, | ||
const Tools::IInterval & | ti, | ||
uint32_t | dimension | ||
) |
TimeRegion::TimeRegion | ( | const double * | pLow, |
const double * | pHigh, | ||
double | tStart, | ||
double | tEnd, | ||
uint32_t | dimension | ||
) |
Definition at line 45 of file TimeRegion.cc.
References m_endTime, m_startTime, SpatialIndex::Region::Region(), and TimeRegion().
SpatialIndex::TimeRegion::TimeRegion | ( | const Point & | low, |
const Point & | high, | ||
const Tools::IInterval & | ti | ||
) |
Definition at line 55 of file TimeRegion.cc.
References m_endTime, m_startTime, SpatialIndex::Region::Region(), and TimeRegion().
SpatialIndex::TimeRegion::TimeRegion | ( | const Region & | in, |
const Tools::IInterval & | ti | ||
) |
TimeRegion::TimeRegion | ( | const Region & | in, |
double | tStart, | ||
double | tEnd | ||
) |
Definition at line 65 of file TimeRegion.cc.
Definition at line 70 of file TimeRegion.cc.
TimeRegion::TimeRegion | ( | const TimeRegion & | in | ) |
Definition at line 75 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, and ~TimeRegion().
|
overridedefault |
|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 200 of file TimeRegion.cc.
References TimeRegion().
|
virtual |
Definition at line 181 of file TimeRegion.cc.
References SpatialIndex::Region::combineRegion(), m_endTime, and m_startTime.
Referenced by SpatialIndex::MVRTree::Node::~Node().
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 365 of file TimeRegion.cc.
References m_endTime, and m_startTime.
Referenced by containsPointInTime(), and containsRegionInTime().
|
virtual |
Definition at line 164 of file TimeRegion.cc.
References containsInterval(), and SpatialIndex::Region::containsPoint().
Referenced by containsShapeInTime(), SpatialIndex::TimePoint::intersectsShapeInTime(), and intersectsShapeInTime().
|
virtual |
Definition at line 148 of file TimeRegion.cc.
References containsInterval(), and SpatialIndex::Region::containsRegion().
Referenced by containsShapeInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 269 of file TimeRegion.cc.
References containsPointInTime(), and containsRegionInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 298 of file TimeRegion.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 208 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension.
Referenced by SpatialIndex::MVRTree::Data::getByteArraySize(), and storeToByteArray().
|
virtual |
Definition at line 189 of file TimeRegion.cc.
References SpatialIndex::Region::getCombinedRegion(), m_endTime, and m_startTime.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 308 of file TimeRegion.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 371 of file TimeRegion.cc.
References Tools::IT_RIGHTOPEN.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements Tools::IInterval.
Referenced by SpatialIndex::MVRTree::MVRTree::flush(), intersectsRegionInTime(), setBounds(), touchesPointInTime(), and touchesRegionInTime().
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 355 of file TimeRegion.cc.
References m_endTime, and m_startTime.
|
virtual |
Definition at line 134 of file TimeRegion.cc.
References intersectsInterval(), and SpatialIndex::Region::intersectsRegion().
Referenced by intersectsShapeInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 253 of file TimeRegion.cc.
References containsPointInTime(), and intersectsRegionInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 213 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension, m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_startTime, and makeDimension().
Referenced by SpatialIndex::MVRTree::Data::loadFromByteArray().
|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 389 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, and SpatialIndex::Region::m_pLow.
Referenced by SpatialIndex::MVRTree::MVRTree::deleteData(), SpatialIndex::MVRTree::MVRTree::insertData(), loadFromByteArray(), makeInfinite(), and operator=().
|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 376 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension, m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_startTime, and makeDimension().
Referenced by SpatialIndex::MVRTree::MVRTree::flush(), and SpatialIndex::MVRTree::Node::isIndex().
|
virtual |
Definition at line 99 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension, m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_startTime, and makeDimension().
|
virtual |
Definition at line 321 of file TimeRegion.cc.
References Tools::IInterval::getLowerBound(), Tools::IInterval::getUpperBound(), m_endTime, and m_startTime.
|
virtual |
Definition at line 114 of file TimeRegion.cc.
References SpatialIndex::Region::m_dimension, m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, and m_startTime.
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 342 of file TimeRegion.cc.
References intersectsInterval(), m_endTime, and m_startTime.
|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 231 of file TimeRegion.cc.
References getByteArraySize(), SpatialIndex::Region::m_dimension, m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, and m_startTime.
Referenced by SpatialIndex::MVRTree::Data::storeToByteArray().
|
virtual |
Definition at line 172 of file TimeRegion.cc.
References intersectsInterval(), and SpatialIndex::Region::touchesPoint().
|
virtual |
Definition at line 155 of file TimeRegion.cc.
References intersectsInterval(), and SpatialIndex::Region::touchesRegion().
Referenced by touchesShapeInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 285 of file TimeRegion.cc.
References touchesRegionInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
friend |
double SpatialIndex::TimeRegion::m_endTime |
Definition at line 102 of file TimeRegion.h.
Referenced by SpatialIndex::MovingRegion::combineRegionAfterTime(), combineRegionInTime(), SpatialIndex::MovingRegion::combineRegionInTime(), containsInterval(), SpatialIndex::MovingRegion::containsPointInTime(), SpatialIndex::MovingRegion::containsRegionAfterTime(), SpatialIndex::MovingRegion::containsRegionAtTime(), SpatialIndex::MovingRegion::containsRegionInTime(), SpatialIndex::TPRTree::TPRTree::deleteData(), SpatialIndex::MVRTree::MVRTree::deleteData(), SpatialIndex::TPRTree::TPRTree::flush(), SpatialIndex::MVRTree::MVRTree::flush(), SpatialIndex::MovingRegion::getAreaInTime(), SpatialIndex::MovingRegion::getCenterDistanceInTime(), getCombinedRegionInTime(), SpatialIndex::MovingRegion::getHigh(), SpatialIndex::MovingRegion::getIntersectingAreaInTime(), SpatialIndex::MovingRegion::getLow(), SpatialIndex::MovingRegion::getProjectedSurfaceAreaInTime(), getUpperBound(), SpatialIndex::TPRTree::TPRTree::insertData(), SpatialIndex::MVRTree::MVRTree::insertData(), intersectsInterval(), SpatialIndex::MovingRegion::intersectsPointInTime(), SpatialIndex::MovingRegion::intersectsRegionAtTime(), SpatialIndex::MovingRegion::intersectsRegionInTime(), SpatialIndex::MVRTree::MVRTree::isIndexValid(), SpatialIndex::TPRTree::Node::loadFromByteArray(), SpatialIndex::MVRTree::Node::loadFromByteArray(), loadFromByteArray(), SpatialIndex::MovingRegion::loadFromByteArray(), makeInfinite(), SpatialIndex::MovingRegion::makeInfinite(), SpatialIndex::MovingRegion::MovingRegion(), SpatialIndex::operator<<(), operator=(), SpatialIndex::MovingRegion::operator=(), operator==(), SpatialIndex::MovingRegion::operator==(), setBounds(), SpatialIndex::MVRTree::Node::storeToByteArray(), storeToByteArray(), SpatialIndex::MovingRegion::storeToByteArray(), TimeRegion(), and SpatialIndex::MVRTree::Node::~Node().
double SpatialIndex::TimeRegion::m_startTime |
Definition at line 101 of file TimeRegion.h.
Referenced by SpatialIndex::MovingRegion::combineRegionAfterTime(), combineRegionInTime(), SpatialIndex::MovingRegion::combineRegionInTime(), containsInterval(), SpatialIndex::MovingRegion::containsPointInTime(), SpatialIndex::MovingRegion::containsRegionAtTime(), SpatialIndex::MovingRegion::containsRegionInTime(), SpatialIndex::TPRTree::TPRTree::deleteData(), SpatialIndex::MVRTree::MVRTree::deleteData(), SpatialIndex::TPRTree::TPRTree::flush(), SpatialIndex::MVRTree::MVRTree::flush(), SpatialIndex::MovingRegion::getAreaInTime(), SpatialIndex::MovingRegion::getCenterDistanceInTime(), getCombinedRegionInTime(), SpatialIndex::MovingRegion::getExtrapolatedHigh(), SpatialIndex::MovingRegion::getExtrapolatedLow(), SpatialIndex::MovingRegion::getHigh(), SpatialIndex::MovingRegion::getIntersectingAreaInTime(), SpatialIndex::MovingRegion::getLow(), getLowerBound(), SpatialIndex::MovingRegion::getProjectedSurfaceAreaInTime(), SpatialIndex::TPRTree::TPRTree::insertData(), SpatialIndex::MVRTree::MVRTree::insertData(), intersectsInterval(), SpatialIndex::MovingRegion::intersectsPointInTime(), SpatialIndex::MovingRegion::intersectsRegionAtTime(), SpatialIndex::MovingRegion::intersectsRegionInTime(), SpatialIndex::TPRTree::TPRTree::isIndexValid(), SpatialIndex::MVRTree::MVRTree::isIndexValid(), SpatialIndex::TPRTree::Node::loadFromByteArray(), SpatialIndex::MVRTree::Node::loadFromByteArray(), loadFromByteArray(), SpatialIndex::MovingRegion::loadFromByteArray(), makeInfinite(), SpatialIndex::MovingRegion::makeInfinite(), SpatialIndex::MovingRegion::MovingRegion(), SpatialIndex::operator<<(), operator=(), SpatialIndex::MovingRegion::operator=(), operator==(), SpatialIndex::MovingRegion::operator==(), setBounds(), SpatialIndex::TPRTree::Node::storeToByteArray(), SpatialIndex::MVRTree::Node::storeToByteArray(), storeToByteArray(), SpatialIndex::MovingRegion::storeToByteArray(), TimeRegion(), SpatialIndex::TPRTree::Node::~Node(), and SpatialIndex::MVRTree::Node::~Node().