libspatialindex API Reference
(git-trunk)
|
#include <TimePoint.h>
Public Member Functions | |
TimePoint () | |
TimePoint (const double *pCoords, const Tools::IInterval &ti, uint32_t dimension) | |
TimePoint (const double *pCoords, double tStart, double tEnd, uint32_t dimension) | |
TimePoint (const Point &p, const Tools::IInterval &ti) | |
TimePoint (const Point &p, double tStart, double tEnd) | |
TimePoint (const TimePoint &p) | |
~TimePoint () override | |
virtual TimePoint & | operator= (const TimePoint &p) |
virtual bool | operator== (const TimePoint &p) const |
TimePoint * | 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::Point | |
Point () | |
Point (const double *pCoords, uint32_t dimension) | |
Point (const Point &p) | |
~Point () override | |
virtual Point & | operator= (const Point &p) |
virtual bool | operator== (const Point &p) 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 double | getMinimumDistance (const Point &p) const |
virtual double | getCoordinate (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::Point | |
uint32_t | m_dimension {0} |
double * | m_pCoords {nullptr} |
Friends | |
SIDX_DLL std::ostream & | operator<< (std::ostream &os, const TimePoint &pt) |
Definition at line 32 of file TimePoint.h.
TimePoint::TimePoint | ( | ) |
Definition at line 35 of file TimePoint.cc.
Referenced by clone().
SpatialIndex::TimePoint::TimePoint | ( | const double * | pCoords, |
const Tools::IInterval & | ti, | ||
uint32_t | dimension | ||
) |
TimePoint::TimePoint | ( | const double * | pCoords, |
double | tStart, | ||
double | tEnd, | ||
uint32_t | dimension | ||
) |
Definition at line 45 of file TimePoint.cc.
SpatialIndex::TimePoint::TimePoint | ( | const Point & | p, |
const Tools::IInterval & | ti | ||
) |
TimePoint::TimePoint | ( | const Point & | p, |
double | tStart, | ||
double | tEnd | ||
) |
Definition at line 55 of file TimePoint.cc.
TimePoint::TimePoint | ( | const TimePoint & | p | ) |
Definition at line 60 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension, and SpatialIndex::Point::m_pCoords.
|
overridedefault |
|
overridevirtual |
Reimplemented from SpatialIndex::Point.
Definition at line 108 of file TimePoint.cc.
References TimePoint().
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 254 of file TimePoint.cc.
References m_endTime, and m_startTime.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 168 of file TimePoint.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 188 of file TimePoint.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Reimplemented from SpatialIndex::Point.
Definition at line 116 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension.
Referenced by storeToByteArray().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 198 of file TimePoint.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 260 of file TimePoint.cc.
References Tools::IT_RIGHTOPEN.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements Tools::IInterval.
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 245 of file TimePoint.cc.
References m_endTime, and m_startTime.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 155 of file TimePoint.cc.
References SpatialIndex::TimeRegion::containsPointInTime().
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
|
overridevirtual |
Reimplemented from SpatialIndex::Point.
Definition at line 121 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension, m_endTime, SpatialIndex::Point::m_pCoords, m_startTime, and makeDimension().
|
overridevirtual |
Reimplemented from SpatialIndex::Point.
Definition at line 277 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension, and SpatialIndex::Point::m_pCoords.
Referenced by loadFromByteArray(), makeInfinite(), and operator=().
|
overridevirtual |
Reimplemented from SpatialIndex::Point.
Definition at line 265 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension, m_endTime, SpatialIndex::Point::m_pCoords, m_startTime, and makeDimension().
Definition at line 72 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension, m_endTime, SpatialIndex::Point::m_pCoords, m_startTime, and makeDimension().
|
virtual |
Definition at line 211 of file TimePoint.cc.
References Tools::IInterval::getLowerBound(), Tools::IInterval::getUpperBound(), m_endTime, and m_startTime.
|
virtual |
Definition at line 85 of file TimePoint.cc.
References SpatialIndex::Point::m_dimension, m_endTime, SpatialIndex::Point::m_pCoords, and m_startTime.
|
overridevirtual |
Implements Tools::IInterval.
Definition at line 232 of file TimePoint.cc.
References m_endTime, and m_startTime.
|
overridevirtual |
Reimplemented from SpatialIndex::Point.
Definition at line 136 of file TimePoint.cc.
References getByteArraySize(), SpatialIndex::Point::m_dimension, m_endTime, SpatialIndex::Point::m_pCoords, and m_startTime.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
Definition at line 178 of file TimePoint.cc.
|
overridevirtual |
Implements SpatialIndex::ITimeShape.
double SpatialIndex::TimePoint::m_endTime |
Definition at line 89 of file TimePoint.h.
Referenced by containsInterval(), SpatialIndex::MovingPoint::getCoord(), getUpperBound(), intersectsInterval(), SpatialIndex::MovingPoint::loadFromByteArray(), loadFromByteArray(), SpatialIndex::MovingPoint::makeInfinite(), makeInfinite(), SpatialIndex::MovingPoint::MovingPoint(), SpatialIndex::MovingRegion::MovingRegion(), SpatialIndex::operator<<(), SpatialIndex::MovingPoint::operator=(), operator=(), SpatialIndex::MovingPoint::operator==(), operator==(), setBounds(), SpatialIndex::MovingPoint::storeToByteArray(), and storeToByteArray().
double SpatialIndex::TimePoint::m_startTime |
Definition at line 88 of file TimePoint.h.
Referenced by containsInterval(), SpatialIndex::MovingPoint::getCoord(), getLowerBound(), SpatialIndex::MovingPoint::getProjectedCoord(), intersectsInterval(), SpatialIndex::MovingPoint::loadFromByteArray(), loadFromByteArray(), SpatialIndex::MovingPoint::makeInfinite(), makeInfinite(), SpatialIndex::MovingPoint::MovingPoint(), SpatialIndex::MovingRegion::MovingRegion(), SpatialIndex::operator<<(), SpatialIndex::MovingPoint::operator=(), operator=(), SpatialIndex::MovingPoint::operator==(), operator==(), setBounds(), SpatialIndex::MovingPoint::storeToByteArray(), and storeToByteArray().