QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
SpatialIndex::IShape Class Referenceabstract

#include <SpatialIndex.h>

Inheritance diagram for SpatialIndex::IShape:
Tools::ISerializable SpatialIndex::LineSegment SpatialIndex::Point SpatialIndex::Region RSpatialIndexNavel::RSiPoint SpatialIndex::TimePoint RSpatialIndexNavel::RSiRegion SpatialIndex::TimeRegion SpatialIndex::MovingPoint SpatialIndex::MovingRegion

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~IShape()

virtual SpatialIndex::IShape::~IShape ( )
inlinevirtual

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()

virtual uint32_t SpatialIndex::IShape::getDimension ( ) const
pure virtual

◆ getMBR()

virtual void SpatialIndex::IShape::getMBR ( Region & out) const
pure virtual

◆ 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: