public class BoundingBox extends Box
| 构造器和说明 |
|---|
BoundingBox() |
BoundingBox(Box box) |
BoundingBox(double minx,
double maxx,
double miny,
double maxy,
double minz,
double maxz) |
| 限定符和类型 | 方法和说明 |
|---|---|
double |
diagonalLength()
get the length of the diagonal line of the bounding box
|
static BoundingBox |
of(Collection<javax.vecmath.Point3d> data)
Obtain the bounding box of a collection of 3d points.
|
contains, contains, getCenter, getxExtent, getyExtent, getzExtent, maxX, maxY, maxZ, minX, minY, minZ, setCenter, setxExtent, setyExtent, setzExtentpublic BoundingBox(Box box)
public BoundingBox()
public BoundingBox(double minx,
double maxx,
double miny,
double maxy,
double minz,
double maxz)
public static BoundingBox of(Collection<javax.vecmath.Point3d> data)
data - the collection of 3d points, Not null.
- if this collection has no points, return a box whose size is zero.
- if this collection has NaN points, the NaN points are ignored.
- if this collection has Infinite points, the Infinite points are ignored.public double diagonalLength()
Copyright © 2019. All rights reserved.