public class Building extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
baseAltitude |
protected BoundingBox |
boundingBox |
protected double |
height |
protected ArrayList<Point> |
points |
protected Wall[] |
walls |
Constructor and Description |
---|
Building(List<Point> points,
double baseAltitude,
double height)
Creates a new building
|
Modifier and Type | Method and Description |
---|---|
double |
getBaseAltitude() |
Polygon2d |
getBaseAsPolygon2d() |
BoundingBox |
getBoundingBox() |
double |
getHeight() |
ArrayList<Point> |
getPoints() |
Wall[] |
getWalls() |
protected double baseAltitude
protected double height
protected Wall[] walls
protected BoundingBox boundingBox
public double getBaseAltitude()
public double getHeight()
public Wall[] getWalls()
public BoundingBox getBoundingBox()
public Polygon2d getBaseAsPolygon2d()
Copyright © 2016 Agent Technology Center (ATG). All rights reserved.