public interface Box
Modifier and Type | Method and Description |
---|---|
static Box |
create(Rectangle3d bottomRectangle,
double height)
Creates a new instance of a box from given parameters.
|
Rectangle3d |
getBottomRectangle()
Returns the bottom rectangle of this box.
|
double |
getHeight()
Returns the height of this box.
|
Vector3d |
getUpDirection()
A convenience method for getting the up direction of this box.
|
Rectangle3d getBottomRectangle()
Triangle3d
. For example, if the bottom rectangle is formed by points
(0,0,0), (1,0,0), (1,1,0) and (0,1,0), the up direction is to direction of the positive Z-unit vector.double getHeight()
Vector3d getUpDirection()
static Box create(Rectangle3d bottomRectangle, double height)
bottomRectangle
- the bottom rectangle of the boxheight
- the height of the boxCopyright © 2020 Solibri, Inc.. All rights reserved.