Uses of Class
org.jgrapht.alg.drawing.model.Box2D
-
Uses of Box2D in org.jgrapht.alg.drawing.model
Modifier and TypeMethodDescriptionLayoutModel2D.getDrawableArea()
Get the drawable area of the model.ListenableLayoutModel2D.getDrawableArea()
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 boxModifier and TypeMethodDescriptionBoxes.splitAlongXAxis
(Box2D box) Split a box along the x axis into two equal boxes.Boxes.splitAlongXAxis
(Box2D box) Split a box along the x axis into two equal boxes.Boxes.splitAlongYAxis
(Box2D box) Split a box along the y axis into two equal boxes.Boxes.splitAlongYAxis
(Box2D box) Split a box along the y axis into two equal boxes.Modifier and TypeMethodDescriptionstatic boolean
Boxes.containsPoint
(Box2D box, Point2D p) Test whether a box contains a point.static boolean
Boxes.containsPoint
(Box2D box, Point2D p, Comparator<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) Boxes.splitAlongXAxis
(Box2D box) Split a box along the x axis into two equal boxes.Boxes.splitAlongYAxis
(Box2D box) Split a box along the y axis into two equal boxes.