public class Level extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Region r)
Does Region r belongs to this level.
|
double[] |
getBounds()
Get the bounding box enclosing all regions at this level.
|
double |
getCeilingAltitude()
Get ceiling altitude for this level.
|
Region |
getClosestRegion(Point2D.Double lp)
Get region whose center is closest to a given location at this level.
|
double |
getFloorAltitude()
Get floor altitude for this level.
|
String |
toString() |
public double getCeilingAltitude()
public double getFloorAltitude()
public Region getClosestRegion(Point2D.Double lp)
public boolean contains(Region r)
public double[] getBounds()
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.