Maven module :un.api : api-geometry :
Class :
un.api.geometry.BBox
Extends/Implements :
un.impl.geometry.AbstractGeometry
Subclasses : -
Variables :
dimension,
upper,
lower
Functions :
BBox,
BBox,
BBox,
BBox,
BBox,
getDimension,
getUpper,
getLower,
getMiddle,
getMin,
getMiddle,
getMax,
getSpan,
getExtent,
getCorners3D,
set,
setRange,
expand,
expand,
expand,
expand,
expand,
expand,
expand,
expand,
expand,
grow,
isEmpty,
setToZero,
setToNaN,
isValid,
reorder,
getBoundingBox,
getCentroid,
equals,
toChars,
intersects,
intersects,
intersects,
intersects,
intersects,
contains,
localIntersect
protected int
dimension
protected Tuple
upper
protected Tuple
lower
public void
BBox (int dimension)
public void
BBox (double[] min, double[] max)
public void
BBox (Tuple lower, Tuple upper)
public void
BBox (BBox other)
public void
BBox (Extent extent)
public int
getDimension ()
public Tuple
getUpper ()
public Tuple
getLower ()
public Tuple
getMiddle ()
public double
getMin (int ordinate)
public double
getMiddle (int ordinate)
public double
getMax (int ordinate)
public double
getSpan (int ordinate)
public Extent
getExtent ()
public Tuple[]
getCorners3D (Tuple[] corners)
public void
set (BBox bbox)
public void
setRange (int ordinate, double min, double max)
public void
expand (BBox bbox)
public void
expand (Tuple point)
public void
expand (double[] point)
public void
expand (TupleBuffer buffer)
public void
expand (float[] point)
public void
expand (double px)
public void
expand (double px, double py)
public void
expand (double px, double py, double pz)
public void
expand (double px, double py, double pz, double pw)
public void
grow (double amount)
public boolean
isEmpty ()
public void
setToZero ()
public void
setToNaN ()
public boolean
isValid ()
public void
reorder ()
public BBox
getBoundingBox ()
public Point
getCentroid ()
public boolean
equals (Object obj)
public Chars
toChars ()
public boolean
intersects (Tuple coord)
public boolean
intersects (Tuple coord, boolean includeBorder)
public boolean
intersects (BBox bbox)
public boolean
intersects (BBox bbox, boolean includeBorder)
public boolean
intersects (Extent extent, boolean includeBorder)
public boolean
contains (BBox bbox)
public void
localIntersect (BBox bbox)
author Johann Sorel