Class Point
- java.lang.Object
-
- org.apache.druid.collections.spatial.Node
-
- org.apache.druid.collections.spatial.Point
-
public class Point extends Node
-
-
Constructor Summary
Constructors Constructor Description Point(float[] coords, int entry, BitmapFactory bitmapFactory)
Point(float[] coords, MutableBitmap entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(Node node)
boolean
enclose()
double
getArea()
MutableBitmap
getBitmap()
List<Node>
getChildren()
float[]
getCoords()
boolean
isLeaf()
-
Methods inherited from class org.apache.druid.collections.spatial.Node
addToBitmapIndex, clear, contains, getMaxCoordinates, getMinCoordinates, getNumDims, getParent, getSizeInBytes, storeInByteBuffer
-
-
-
-
Constructor Detail
-
Point
public Point(float[] coords, int entry, BitmapFactory bitmapFactory)
-
Point
public Point(float[] coords, MutableBitmap entry)
-
-
Method Detail
-
getCoords
public float[] getCoords()
-
getBitmap
public MutableBitmap getBitmap()
-
getChildren
public List<Node> getChildren()
- Overrides:
getChildren
in classNode
-
-