public class Bounds extends Object
| Constructor and Description |
|---|
Bounds() |
Bounds(org.bimserver.models.geometry.Bounds bounds) |
Bounds(double minX,
double minY,
double minZ,
double maxX,
double maxY,
double maxZ) |
Bounds(org.bimserver.interfaces.objects.SBounds bounds) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDepth() |
double |
getHalfDepth() |
double |
getHalfHeight() |
double |
getHalfWidth() |
double |
getHeight() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMaxZ() |
double |
getMinX() |
double |
getMinY() |
double |
getMinZ() |
double |
getWidth() |
void |
integrate(org.bimserver.models.geometry.Bounds bounds) |
void |
integrate(Bounds bounds) |
Bounds |
offset(int x,
int y,
int z) |
Bounds |
scale(Bounds from,
Bounds to) |
org.bimserver.models.geometry.Bounds |
toDbBounds() |
org.bimserver.interfaces.objects.SBounds |
toSBounds() |
String |
toString() |
boolean |
within(Bounds bounds) |
public Bounds()
public Bounds(double minX,
double minY,
double minZ,
double maxX,
double maxY,
double maxZ)
public Bounds(org.bimserver.models.geometry.Bounds bounds)
public Bounds(org.bimserver.interfaces.objects.SBounds bounds)
public double getMinX()
public double getMaxX()
public double getMaxY()
public double getMaxZ()
public double getMinY()
public double getMinZ()
public Bounds offset(int x, int y, int z)
public boolean within(Bounds bounds)
public void integrate(org.bimserver.models.geometry.Bounds bounds)
public double getWidth()
public double getHeight()
public double getDepth()
public double getHalfWidth()
public double getHalfHeight()
public double getHalfDepth()
public void integrate(Bounds bounds)
public org.bimserver.models.geometry.Bounds toDbBounds()
public org.bimserver.interfaces.objects.SBounds toSBounds()
Copyright © 2019 OpenSource BIM. All rights reserved.