org.osm2world.core.world.modules
public static class BuildingModule.BuildingPart extends Object implements RenderableToAllTargets
Modifier and Type | Class and Description |
---|---|
class |
BuildingModule.BuildingPart.HeightfieldRoof
superclass for roofs that have exactly one height value
for each point within their XZ polygon
|
static interface |
BuildingModule.BuildingPart.Roof |
Constructor and Description |
---|
BuildingModule.BuildingPart(BuildingModule.Building building,
MapArea area,
PolygonWithHolesXZ polygon,
boolean useBuildingColors,
boolean drawBuildingWindows) |
Modifier and Type | Method and Description |
---|---|
double |
getClearingAbove(VectorXZ pos) |
PolygonWithHolesXZ |
getPolygon() |
BuildingModule.BuildingPart.Roof |
getRoof() |
static boolean |
hasComplexRoof(MapArea area) |
void |
renderTo(Target<?> target) |
public BuildingModule.BuildingPart(BuildingModule.Building building, MapArea area, PolygonWithHolesXZ polygon, boolean useBuildingColors, boolean drawBuildingWindows)
public PolygonWithHolesXZ getPolygon()
public BuildingModule.BuildingPart.Roof getRoof()
public double getClearingAbove(VectorXZ pos)
public void renderTo(Target<?> target)
renderTo
in interface RenderableToAllTargets
public static boolean hasComplexRoof(MapArea area)