public static interface NumberRangePrefixTree.UnitNRShape extends NumberRangePrefixTree.NRShape, Comparable<NumberRangePrefixTree.UnitNRShape>
Cell
. Spatially speaking, it's analogous to a Point but 1D and has some precision width.Modifier and Type | Method and Description |
---|---|
NumberRangePrefixTree.UnitNRShape |
clone()
Deep clone
|
int |
getLevel()
Get the prefix tree level, the higher the more precise.
|
NumberRangePrefixTree.UnitNRShape |
getShapeAtLevel(int level)
Gets an ancestor at the specified level.
|
int |
getValAtLevel(int level)
Gets the value at the specified level of this unit.
|
NumberRangePrefixTree.UnitNRShape |
roundToLevel(int targetLevel)
Returns this shape rounded to the target level.
|
toString
equals, getArea, getBoundingBox, getBuffered, getCenter, getContext, hasArea, isEmpty, relate
compareTo
int getLevel()
int getValAtLevel(int level)
NumberRangePrefixTree.UnitNRShape getShapeAtLevel(int level)
NumberRangePrefixTree.UnitNRShape roundToLevel(int targetLevel)
NumberRangePrefixTree.NRShape
roundToLevel
in interface NumberRangePrefixTree.NRShape
NumberRangePrefixTree.UnitNRShape clone()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.