public class ImmutableBBox3D extends Object implements BBox3D, Serializable
Constructor and Description |
---|
ImmutableBBox3D(Envelope3D envelope3D) |
ImmutableBBox3D(Point3D _lowerB,
double w,
double h,
double d) |
ImmutableBBox3D(Point3D _lowerBound,
Point3D _upperBound) |
Modifier and Type | Method and Description |
---|---|
ImmutableBBox3D |
copy() |
List<Point3D> |
getBounds() |
Point3D |
getCentroid() |
double |
getDepth() |
tr.com.terrayazilim.core.unit.DimensionUnit |
getDimensionUnit() |
double |
getHeight() |
ShapeUnit |
getShapeUnit() |
double |
getVolume() |
double |
getWidth() |
boolean |
isBounded() |
BBox3D |
scale(double scaleFactor) |
BBox3D |
translate(double... args) |
BBox3D |
union(BBox3D bBox3D) |
public ImmutableBBox3D(Point3D _lowerBound, Point3D _upperBound)
_lowerBound
- _upperBound
- public ImmutableBBox3D(Point3D _lowerB, double w, double h, double d)
_lowerB
- w
- h
- d
- public ImmutableBBox3D(Envelope3D envelope3D)
envelope3D
- public double getVolume()
getVolume
in interface BBox3D
getVolume
in interface Envelope3D
public Point3D getCentroid()
getCentroid
in interface BBox3D
getCentroid
in interface Envelope3D
public double getWidth()
getWidth
in interface BBox3D
getWidth
in interface Envelope3D
public double getHeight()
getHeight
in interface BBox3D
getHeight
in interface Envelope3D
public double getDepth()
getDepth
in interface BBox3D
getDepth
in interface Envelope3D
public boolean isBounded()
public ImmutableBBox3D copy()
public tr.com.terrayazilim.core.unit.DimensionUnit getDimensionUnit()
getDimensionUnit
in interface BBox3D
getDimensionUnit
in interface Envelope3D
getDimensionUnit
in interface Shape
public ShapeUnit getShapeUnit()
getShapeUnit
in interface BBox3D
getShapeUnit
in interface Envelope3D
getShapeUnit
in interface Shape
public BBox3D scale(double scaleFactor)
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.