Package | Description |
---|---|
eu.printingin3d.javascad.coords | |
eu.printingin3d.javascad.coords2d | |
eu.printingin3d.javascad.enums |
Modifier and Type | Field and Description |
---|---|
static Boundary |
Boundary.EMPTY
Represents an empty 1D boundary object.
|
Modifier and Type | Method and Description |
---|---|
Boundary |
Boundary.add(Boundary delta)
Adding the given value to the interval and creates a new Boundary object with the new values.
|
Boundary |
Boundary.add(double delta)
Adding the given value to the interval and creates a new Boundary object with the new values.
|
static Boundary |
Boundary.combine(Collection<Boundary> boundaries)
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
|
static Boundary |
Boundary.createSymmetricBoundary(double value)
Creates a Boundary object which has the given maximum value and the middle is zero.
|
Boundary |
Boundaries3d.getX()
Returns with the boundary on the X plane.
|
Boundary |
Boundaries3d.getY()
Returns with the boundary on the Y plane.
|
Boundary |
Boundaries3d.getZ()
Returns with the boundary on the Z plane.
|
static Boundary |
Boundary.intersect(Collection<Boundary> boundaries)
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
|
Boundary |
Boundary.negate(boolean doNegate)
Negate the current object if the parameter is true, but this object
will be unchanged: a new one will be created with the new values.
|
Boundary |
Boundary.remove(Boundary b)
Removes the values of the given boundary from this boundary and returns with the remaining values.
|
Boundary |
Boundary.scale(double delta)
Multiplying the interval with the given value, basically scaling it.
|
Modifier and Type | Method and Description |
---|---|
Boundary |
Boundary.add(Boundary delta)
Adding the given value to the interval and creates a new Boundary object with the new values.
|
boolean |
Boundary.isInsideOf(Boundary b)
Returns true if and only if this boundary is inside of the given boundary.
|
Boundary |
Boundary.remove(Boundary b)
Removes the values of the given boundary from this boundary and returns with the remaining values.
|
Modifier and Type | Method and Description |
---|---|
static Boundary |
Boundary.combine(Collection<Boundary> boundaries)
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
|
static Boundary |
Boundary.intersect(Collection<Boundary> boundaries)
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
|
Constructor and Description |
---|
Boundaries3d(Boundary x,
Boundary y,
Boundary z)
Constructs a new object with the given X, Y and Z boundary.
|
Modifier and Type | Method and Description |
---|---|
Boundary |
Boundaries2d.getX()
Returns with the boundary on the X plane.
|
Boundary |
Boundaries2d.getY()
Returns with the boundary on the Y plane.
|
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 |
---|---|
protected double |
AlignType.calculateCoordinate(Boundary model,
Boundary relateTo)
Used internally to calculate the coordinate on the given axis.
|
protected double |
AlignType.calculateCoordinate(Boundary model,
double relateTo)
Used internally to calculate the coordinate on the given axis.
|
double |
AlignType.getAlignedValue(Boundary boundary)
Returns with the side of the given boundary denoted by this align.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.