|
libspatialindex API Reference
(git-trunk)
|
#include <MovingRegion.h>


Classes | |
| class | CrossPoint |
Public Member Functions | |
| MovingRegion () | |
| MovingRegion (const double *pLow, const double *pHigh, const double *pVLow, const double *pVHigh, const Tools::IInterval &ti, uint32_t dimension) | |
| MovingRegion (const double *pLow, const double *pHigh, const double *pVLow, const double *pVHigh, double tStart, double tEnd, uint32_t dimension) | |
| MovingRegion (const Point &low, const Point &high, const Point &vlow, const Point &vhigh, const Tools::IInterval &ti) | |
| MovingRegion (const Point &low, const Point &high, const Point &vlow, const Point &vhigh, double tStart, double tEnd) | |
| MovingRegion (const Region &mbr, const Region &vbr, const Tools::IInterval &ivI) | |
| MovingRegion (const Region &mbr, const Region &vbr, double tStart, double tEnd) | |
| MovingRegion (const MovingPoint &low, const MovingPoint &high) | |
| MovingRegion (const MovingRegion &in) | |
| ~MovingRegion () override | |
| virtual MovingRegion & | operator= (const MovingRegion &r) |
| virtual bool | operator== (const MovingRegion &) const |
| bool | isShrinking () const |
| virtual double | getLow (uint32_t index, double t) const |
| virtual double | getHigh (uint32_t index, double t) const |
| virtual double | getExtrapolatedLow (uint32_t index, double t) const |
| virtual double | getExtrapolatedHigh (uint32_t index, double t) const |
| virtual double | getVLow (uint32_t index) const |
| virtual double | getVHigh (uint32_t index) const |
| virtual bool | intersectsRegionInTime (const MovingRegion &r) const |
| virtual bool | intersectsRegionInTime (const MovingRegion &r, Tools::IInterval &out) const |
| virtual bool | intersectsRegionInTime (const Tools::IInterval &ivI, const MovingRegion &r, Tools::IInterval &ret) const |
| virtual bool | containsRegionInTime (const MovingRegion &r) const |
| virtual bool | containsRegionInTime (const Tools::IInterval &ivI, const MovingRegion &r) const |
| virtual bool | containsRegionAfterTime (double t, const MovingRegion &r) const |
| virtual double | getProjectedSurfaceAreaInTime () const |
| virtual double | getProjectedSurfaceAreaInTime (const Tools::IInterval &ivI) const |
| virtual double | getCenterDistanceInTime (const MovingRegion &r) const |
| virtual double | getCenterDistanceInTime (const Tools::IInterval &ivI, const MovingRegion &r) const |
| virtual bool | intersectsRegionAtTime (double t, const MovingRegion &r) const |
| virtual bool | containsRegionAtTime (double t, const MovingRegion &r) const |
| virtual bool | intersectsPointInTime (const MovingPoint &p) const |
| virtual bool | intersectsPointInTime (const MovingPoint &p, Tools::IInterval &out) const |
| virtual bool | intersectsPointInTime (const Tools::IInterval &ivI, const MovingPoint &p, Tools::IInterval &out) const |
| virtual bool | containsPointInTime (const MovingPoint &p) const |
| virtual bool | containsPointInTime (const Tools::IInterval &ivI, const MovingPoint &p) const |
| virtual void | combineRegionInTime (const MovingRegion &r) |
| virtual void | combineRegionAfterTime (double t, const MovingRegion &r) |
| virtual void | getCombinedRegionInTime (MovingRegion &out, const MovingRegion &in) const |
| virtual void | getCombinedRegionAfterTime (double t, MovingRegion &out, const MovingRegion &in) const |
| virtual double | getIntersectingAreaInTime (const MovingRegion &r) const |
| virtual double | getIntersectingAreaInTime (const Tools::IInterval &ivI, const MovingRegion &r) const |
| MovingRegion * | clone () override |
| uint32_t | getByteArraySize () override |
| void | loadFromByteArray (const uint8_t *data) override |
| void | storeToByteArray (uint8_t **data, uint32_t &len) override |
| void | getVMBR (Region &out) const override |
| void | getMBRAtTime (double t, Region &out) 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 |
| void | makeInfinite (uint32_t dimension) override |
| void | makeDimension (uint32_t dimension) override |
Public Member Functions inherited from SpatialIndex::TimeRegion | |
| 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 SpatialIndex::IShape | |
| ~IShape () override=default | |
Public Member Functions inherited from Tools::ISerializable | |
| virtual | ~ISerializable ()=default |
Public Member Functions inherited from Tools::IObject | |
| virtual | ~IObject ()=default |
Public Member Functions inherited from SpatialIndex::ITimeShape | |
| ~ITimeShape () override=default | |
Public Member Functions inherited from Tools::IInterval | |
| virtual | ~IInterval ()=default |
Public Member Functions inherited from SpatialIndex::IEvolvingShape | |
| virtual | ~IEvolvingShape ()=default |
Public Attributes | |
| double * | m_pVLow {nullptr} |
| double * | m_pVHigh {nullptr} |
Public Attributes inherited from SpatialIndex::TimeRegion | |
| 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 MovingRegion &r) |
Additional Inherited Members | |
Static Public Attributes inherited from SpatialIndex::Region | |
| static constexpr int | local_dim = 3 |
Definition at line 32 of file MovingRegion.h.
| MovingRegion::MovingRegion | ( | ) |
Definition at line 42 of file MovingRegion.cc.
Referenced by clone().

| SpatialIndex::MovingRegion::MovingRegion | ( | const double * | pLow, |
| const double * | pHigh, | ||
| const double * | pVLow, | ||
| const double * | pVHigh, | ||
| const Tools::IInterval & | ti, | ||
| uint32_t | dimension | ||
| ) |
| MovingRegion::MovingRegion | ( | const double * | pLow, |
| const double * | pHigh, | ||
| const double * | pVLow, | ||
| const double * | pVHigh, | ||
| double | tStart, | ||
| double | tEnd, | ||
| uint32_t | dimension | ||
| ) |
Definition at line 55 of file MovingRegion.cc.
| SpatialIndex::MovingRegion::MovingRegion | ( | const Point & | low, |
| const Point & | high, | ||
| const Point & | vlow, | ||
| const Point & | vhigh, | ||
| const Tools::IInterval & | ti | ||
| ) |
| MovingRegion::MovingRegion | ( | const Point & | low, |
| const Point & | high, | ||
| const Point & | vlow, | ||
| const Point & | vhigh, | ||
| double | tStart, | ||
| double | tEnd | ||
| ) |
Definition at line 76 of file MovingRegion.cc.
References SpatialIndex::Point::m_dimension, and SpatialIndex::Point::m_pCoords.
| SpatialIndex::MovingRegion::MovingRegion | ( | const Region & | mbr, |
| const Region & | vbr, | ||
| const Tools::IInterval & | ivI | ||
| ) |
Definition at line 98 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, and SpatialIndex::Region::m_pLow.
| MovingRegion::MovingRegion | ( | const MovingPoint & | low, |
| const MovingPoint & | high | ||
| ) |
Definition at line 107 of file MovingRegion.cc.
References SpatialIndex::Point::m_dimension, SpatialIndex::Region::m_dimension, SpatialIndex::TimePoint::m_endTime, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Point::m_pCoords, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, SpatialIndex::MovingPoint::m_pVCoords, m_pVHigh, m_pVLow, SpatialIndex::TimePoint::m_startTime, and SpatialIndex::TimeRegion::m_startTime.
| MovingRegion::MovingRegion | ( | const MovingRegion & | in | ) |
Definition at line 142 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.
|
override |
Definition at line 209 of file MovingRegion.cc.
|
overridevirtual |
Implements Tools::IObject.
Definition at line 1009 of file MovingRegion.cc.
References MovingRegion().

|
virtual |
Definition at line 828 of file MovingRegion.cc.
References getExtrapolatedHigh(), getExtrapolatedLow(), SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.
Referenced by getCombinedRegionAfterTime().


|
virtual |
Definition at line 802 of file MovingRegion.cc.
References getExtrapolatedHigh(), getExtrapolatedLow(), SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.
Referenced by getCombinedRegionInTime().


|
virtual |
Definition at line 747 of file MovingRegion.cc.
References containsPointInTime().
Referenced by containsPointInTime().


|
virtual |
|
virtual |
Definition at line 487 of file MovingRegion.cc.
References containsRegionInTime(), and SpatialIndex::TimeRegion::m_endTime.

|
virtual |
Definition at line 640 of file MovingRegion.cc.
References getExtrapolatedHigh(), getExtrapolatedLow(), SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, and SpatialIndex::TimeRegion::m_startTime.

|
virtual |
Definition at line 428 of file MovingRegion.cc.
References containsRegionInTime().
Referenced by containsRegionAfterTime(), and containsRegionInTime().


|
virtual |
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 1090 of file MovingRegion.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Implements Tools::ISerializable.
Definition at line 1017 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension.
Referenced by storeToByteArray().

|
virtual |
Definition at line 552 of file MovingRegion.cc.
|
virtual |
|
virtual |
Definition at line 847 of file MovingRegion.cc.
References combineRegionAfterTime(), and SpatialIndex::Region::m_dimension.

|
virtual |
Definition at line 820 of file MovingRegion.cc.
References combineRegionInTime(), and SpatialIndex::Region::m_dimension.

|
virtual |
Definition at line 296 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, m_pVHigh, and SpatialIndex::TimeRegion::m_startTime.
Referenced by combineRegionAfterTime(), combineRegionInTime(), containsRegionAtTime(), and intersectsRegionAtTime().

|
virtual |
Definition at line 288 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pLow, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.
Referenced by combineRegionAfterTime(), combineRegionInTime(), containsRegionAtTime(), and intersectsRegionAtTime().

|
virtual |
Definition at line 278 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, m_pVHigh, and SpatialIndex::TimeRegion::m_startTime.
Referenced by getMBRAtTime().

|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 1145 of file MovingRegion.cc.
References getIntersectingAreaInTime().

|
virtual |
Definition at line 855 of file MovingRegion.cc.
Referenced by getIntersectingAreaInTime().

|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
virtual |
|
virtual |
Definition at line 268 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pLow, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.
Referenced by getMBRAtTime().

|
overridevirtual |
Implements SpatialIndex::IEvolvingShape.
Definition at line 1077 of file MovingRegion.cc.
References getHigh(), getLow(), SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, and SpatialIndex::Region::makeDimension().

|
virtual |
Definition at line 497 of file MovingRegion.cc.
|
virtual |
|
virtual |
Definition at line 310 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, and m_pVHigh.
|
virtual |
Definition at line 303 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, and m_pVLow.
|
overridevirtual |
Implements SpatialIndex::IEvolvingShape.
Definition at line 1070 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, and SpatialIndex::Region::makeDimension().

|
virtual |
Definition at line 654 of file MovingRegion.cc.
|
virtual |
|
virtual |
|
virtual |
Definition at line 624 of file MovingRegion.cc.
References getExtrapolatedHigh(), getExtrapolatedLow(), SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, and SpatialIndex::TimeRegion::m_startTime.

|
virtual |
Definition at line 317 of file MovingRegion.cc.
References intersectsRegionInTime().
Referenced by intersectsRegionInTime().


|
virtual |
|
virtual |
| bool MovingRegion::isShrinking | ( | ) | const |
Definition at line 258 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, m_pVHigh, and m_pVLow.
|
overridevirtual |
Implements Tools::ISerializable.
Definition at line 1022 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, SpatialIndex::TimeRegion::m_startTime, and makeDimension().

|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 1173 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, and m_pVLow.
Referenced by SpatialIndex::TPRTree::TPRTree::deleteData(), SpatialIndex::TPRTree::TPRTree::insertData(), loadFromByteArray(), SpatialIndex::TPRTree::Node::loadFromByteArray(), makeInfinite(), and operator=().

|
overridevirtual |
Reimplemented from SpatialIndex::Region.
Definition at line 1158 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, SpatialIndex::TimeRegion::m_startTime, and makeDimension().

|
virtual |
Definition at line 215 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, SpatialIndex::TimeRegion::m_startTime, and makeDimension().

|
virtual |
Definition at line 234 of file MovingRegion.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.
|
overridevirtual |
Implements Tools::ISerializable.
Definition at line 1044 of file MovingRegion.cc.
References getByteArraySize(), SpatialIndex::Region::m_dimension, SpatialIndex::TimeRegion::m_endTime, SpatialIndex::Region::m_pHigh, SpatialIndex::Region::m_pLow, m_pVHigh, m_pVLow, and SpatialIndex::TimeRegion::m_startTime.

|
friend |
| double* SpatialIndex::MovingRegion::m_pVHigh {nullptr} |
Definition at line 159 of file MovingRegion.h.
Referenced by combineRegionAfterTime(), combineRegionInTime(), SpatialIndex::TPRTree::TPRTree::deleteData(), getExtrapolatedHigh(), getHigh(), getVHigh(), getVMBR(), SpatialIndex::TPRTree::TPRTree::insertData(), SpatialIndex::TPRTree::TPRTree::isIndexValid(), isShrinking(), loadFromByteArray(), SpatialIndex::TPRTree::Node::loadFromByteArray(), makeDimension(), makeInfinite(), MovingRegion(), SpatialIndex::operator<<(), operator=(), operator==(), storeToByteArray(), SpatialIndex::TPRTree::Node::storeToByteArray(), and ~MovingRegion().
| double* SpatialIndex::MovingRegion::m_pVLow {nullptr} |
Definition at line 158 of file MovingRegion.h.
Referenced by combineRegionAfterTime(), combineRegionInTime(), SpatialIndex::TPRTree::TPRTree::deleteData(), getExtrapolatedLow(), getLow(), getVLow(), getVMBR(), SpatialIndex::TPRTree::TPRTree::insertData(), SpatialIndex::TPRTree::TPRTree::isIndexValid(), isShrinking(), loadFromByteArray(), SpatialIndex::TPRTree::Node::loadFromByteArray(), makeDimension(), makeInfinite(), MovingRegion(), SpatialIndex::operator<<(), operator=(), operator==(), storeToByteArray(), SpatialIndex::TPRTree::Node::storeToByteArray(), and ~MovingRegion().