38 Point(
const double* pCoords, uint32_t dimension);
43 virtual bool operator==(
const Point& p)
const;
48 Point* clone()
override;
53 uint32_t getByteArraySize()
override;
54 void loadFromByteArray(
const uint8_t* data)
override;
55 void storeToByteArray(uint8_t** data, uint32_t& length)
override;
60 bool intersectsShape(
const IShape& in)
const override;
61 bool containsShape(
const IShape& in)
const override;
62 bool touchesShape(
const IShape& in)
const override;
63 void getCenter(
Point& out)
const override;
64 uint32_t getDimension()
const override;
65 void getMBR(
Region& out)
const override;
66 double getArea()
const override;
67 double getMinimumDistance(
const IShape& in)
const override;
69 virtual double getMinimumDistance(
const Point& p)
const;
71 virtual double getCoordinate(uint32_t index)
const;
73 virtual void makeInfinite(uint32_t dimension);
74 virtual void makeDimension(uint32_t dimension);
77 uint32_t m_dimension{0};
78 double* m_pCoords{
nullptr};
Tools::PoolPointer< Point > PointPtr
SIDX_DLL std::ostream & operator<<(std::ostream &os, const Ball &ball)