org.osm2world.core.world.modules
Class BuildingModule.BuildingPart
Object
BuildingModule.BuildingPart
- All Implemented Interfaces:
- Renderable, RenderableToAllTargets
- Enclosing class:
- BuildingModule
public static class BuildingModule.BuildingPart
- extends Object
- implements RenderableToAllTargets
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildingModule.BuildingPart
public BuildingModule.BuildingPart(BuildingModule.Building building,
MapArea area,
PolygonWithHolesXZ polygon,
boolean useBuildingColors,
boolean drawBuildingWindows)
getPolygon
public PolygonWithHolesXZ getPolygon()
getRoof
public BuildingModule.BuildingPart.Roof getRoof()
getClearingAbove
public double getClearingAbove(VectorXZ pos)
renderTo
public void renderTo(Target<?> target)
- Specified by:
renderTo
in interface RenderableToAllTargets
hasComplexRoof
public static boolean hasComplexRoof(MapArea area)