Package | Description |
---|---|
com.solibri.geometry.primitive2d |
Modifier and Type | Interface and Description |
---|---|
interface |
MRectangle2d
Interface for handling rectangles in the XY-plane.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle2d |
Rectangle2d.create(List<? extends Vector2d> vertices)
Creates a new instance from the given points.
|
static Rectangle2d |
Rectangle2d.create(Rectangle2d other)
Creates a new instance.
|
Rectangle2d |
Area.getMinimumBoundingRectangle()
Returns the minimum area bounding rectangle.
|
Modifier and Type | Method and Description |
---|---|
static MRectangle2d |
MRectangle2d.create(Rectangle2d other)
Creates a new instance.
|
static Rectangle2d |
Rectangle2d.create(Rectangle2d other)
Creates a new instance.
|
boolean |
Rectangle2d.equalsWithTolerance(Rectangle2d rectangle,
double epsilon)
Verifies if two 2D rectangles are equal (with epsilon
difference).
|
Copyright © 2019 Solibri, Inc.. All rights reserved.