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 voidaddChild(Node node)booleanenclose()doublegetArea()MutableBitmapgetBitmap()List<Node>getChildren()float[]getCoords()booleanisLeaf()-
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:
getChildrenin classNode
-
-