public class Boundaries2d extends Object
| Constructor and Description |
|---|
Boundaries2d(Boundary x,
Boundary y)
Constructs a new object with the given X, Y and Z boundary.
|
| Modifier and Type | Method and Description |
|---|---|
static Boundaries2d |
combine(Collection<Boundaries2d> boundaries)
Calculate the including cuboid so the result of this method is an interval representing a cuboid
that all of the parameter cuboids are inside in this cuboid.
|
Boundary |
getX()
Returns with the boundary on the X plane.
|
Boundary |
getY()
Returns with the boundary on the Y plane.
|
Boundaries2d |
move(Coords2d delta)
Moves the interval with the given delta.
|
public static Boundaries2d combine(Collection<Boundaries2d> boundaries)
boundaries - the intervals considered during the calculationpublic Boundary getX()
public Boundary getY()
public Boundaries2d move(Coords2d delta)
delta - the value used by the moveCopyright © 2014–2020, Printing in 3D. All rights reserved.