public class Building
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
baseAltitude |
protected BoundingBox |
boundingBox |
protected double |
height |
protected java.util.ArrayList<Point> |
points |
protected Wall[] |
walls |
Constructor and Description |
---|
Building(java.util.List<Point> points,
double baseAltitude,
double height)
Creates a new building
|
protected java.util.ArrayList<Point> points
protected double baseAltitude
protected double height
protected Wall[] walls
protected BoundingBox boundingBox
public Building(java.util.List<Point> points, double baseAltitude, double height)
points
- the 4 points defining the base of the building.baseAltitude
- the altitude on which base of the building laysheight
- the height of the building