Uses of Class
org.jgrapht.alg.drawing.model.Box2D
-
Packages that use Box2D Package Description org.jgrapht.alg.drawing.model Graph Drawing Basic Types and Models. -
-
Uses of Box2D in org.jgrapht.alg.drawing.model
Fields in org.jgrapht.alg.drawing.model declared as Box2D Modifier and Type Field Description protected Box2D
MapLayoutModel2D. drawableArea
Methods in org.jgrapht.alg.drawing.model that return Box2D Modifier and Type Method Description Box2D
LayoutModel2D. getDrawableArea()
Get the drawable area of the model.Box2D
ListenableLayoutModel2D. getDrawableArea()
Box2D
MapLayoutModel2D. getDrawableArea()
static Box2D
Box2D. of(double width, double height)
Create a new boxstatic Box2D
Box2D. of(double x, double y, double width, double height)
Create a new boxMethods in org.jgrapht.alg.drawing.model that return types with arguments of type Box2D Modifier and Type Method Description static Pair<Box2D,Box2D>
Boxes. splitAlongXAxis(Box2D box)
Split a box along the x axis into two equal boxes.static Pair<Box2D,Box2D>
Boxes. splitAlongXAxis(Box2D box)
Split a box along the x axis into two equal boxes.static Pair<Box2D,Box2D>
Boxes. splitAlongYAxis(Box2D box)
Split a box along the y axis into two equal boxes.static Pair<Box2D,Box2D>
Boxes. splitAlongYAxis(Box2D box)
Split a box along the y axis into two equal boxes.Methods in org.jgrapht.alg.drawing.model with parameters of type Box2D Modifier and Type Method Description static boolean
Boxes. containsPoint(Box2D box, Point2D p)
Test whether a box contains a point.static boolean
Boxes. containsPoint(Box2D box, Point2D p, java.util.Comparator<java.lang.Double> comparator)
Test whether a box contains a point.void
LayoutModel2D. setDrawableArea(Box2D drawableArea)
Set the drawable area of the model.void
ListenableLayoutModel2D. setDrawableArea(Box2D drawableArea)
void
MapLayoutModel2D. setDrawableArea(Box2D drawableArea)
static Pair<Box2D,Box2D>
Boxes. splitAlongXAxis(Box2D box)
Split a box along the x axis into two equal boxes.static Pair<Box2D,Box2D>
Boxes. splitAlongYAxis(Box2D box)
Split a box along the y axis into two equal boxes.Constructors in org.jgrapht.alg.drawing.model with parameters of type Box2D Constructor Description MapLayoutModel2D(Box2D drawableArea)
Create a new model.
-