Maven module :un.api : api-geometry :
Class : un.api.geometry.index.quadtrees.Quadrants
Extends/Implements : -
Subclasses : -

Functions to produce new quadrants from an existing pair of corners.
author  Mark Raynsford


Variables : -
Functions : split, getX0Y0Lower, getX0Y0Upper, getX0Y1Lower, getX0Y1Upper, getX1Y0Lower, getX1Y0Upper, getX1Y1Lower, getX1Y1Upper





Split a quadrant defined by the two points lower and
upper into four quadrants.



@param lower
The lower corner
@param upper
The upper corner
@return A set of newly split quadrants.
public Quadrants split (Tuple lower, Tuple upper)


return  The lower (x0, y0) corner
public Vector getX0Y0Lower ()


return  The upper (x0, y0) corner
public Vector getX0Y0Upper ()


return  The lower (x0, y1) corner
public Vector getX0Y1Lower ()


return  The upper (x0, y1) corner
public Vector getX0Y1Upper ()


return  The lower (x1, y0) corner
public Vector getX1Y0Lower ()


return  The upper (x1, y0) corner
public Vector getX1Y0Upper ()


return  The lower (x1, y1) corner
public Vector getX1Y1Lower ()


return  The upper (x1, y1) corner
public Vector getX1Y1Upper ()