libspatialindex API Reference  (git-trunk)
SpatialIndex::IShape Class Referenceabstract

#include <SpatialIndex.h>

Inheritance diagram for SpatialIndex::IShape:
Inheritance graph
Collaboration diagram for SpatialIndex::IShape:
Collaboration graph

Public Member Functions

virtual bool intersectsShape (const IShape &in) const =0
 
virtual bool containsShape (const IShape &in) const =0
 
virtual bool touchesShape (const IShape &in) const =0
 
virtual void getCenter (Point &out) const =0
 
virtual uint32_t getDimension () const =0
 
virtual void getMBR (Region &out) const =0
 
virtual double getArea () const =0
 
virtual double getMinimumDistance (const IShape &in) const =0
 
 ~IShape () override=default
 
- Public Member Functions inherited from Tools::ISerializable
virtual ~ISerializable ()=default
 
virtual uint32_t getByteArraySize ()=0
 
virtual void loadFromByteArray (const uint8_t *data)=0
 
virtual void storeToByteArray (uint8_t **data, uint32_t &length)=0
 

Detailed Description

Definition at line 68 of file SpatialIndex.h.

Constructor & Destructor Documentation

◆ ~IShape()

SpatialIndex::IShape::~IShape ( )
overridedefault

Member Function Documentation

◆ containsShape()

virtual bool SpatialIndex::IShape::containsShape ( const IShape in) const
pure virtual

◆ getArea()

virtual double SpatialIndex::IShape::getArea ( ) const
pure virtual

◆ getCenter()

virtual void SpatialIndex::IShape::getCenter ( Point out) const
pure virtual

◆ getDimension()

◆ getMBR()

◆ getMinimumDistance()

virtual double SpatialIndex::IShape::getMinimumDistance ( const IShape in) const
pure virtual

◆ intersectsShape()

virtual bool SpatialIndex::IShape::intersectsShape ( const IShape in) const
pure virtual

◆ touchesShape()

virtual bool SpatialIndex::IShape::touchesShape ( const IShape in) const
pure virtual

The documentation for this class was generated from the following file: