com.supermap.realspace.threeddesigner
类 RoofGeneratorParameter
- java.lang.Object
-
- com.supermap.realspace.threeddesigner.RoofGeneratorParameter
-
public class RoofGeneratorParameter extends Object
屋顶构造参数
-
-
构造器概要
构造器 构造器和说明 RoofGeneratorParameter(double buildingHeight)根据传入的建筑高度,来构造一个新对象。RoofGeneratorParameter(double buildingHeight, double bottomHeight, double roofAngle, double roofThickness, double roofHeight, double roofOverhang, RoofType roofType)根据传入的参数,来构造一个新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 doublegetAngle()返回坡屋顶坡度,单位:度。doublegetBottomHeight()返回建筑底部高度,单位:米。doublegetBuildingHeight()返回建筑高度,单位:米。doublegetOverhang()返回建筑物的屋顶外扩、内缩(坡屋顶无内缩),单位:米。doublegetParapetHeight()返回女儿墙高度,单位:米。RoofTypegetRoofType()返回建筑物的建筑类型。doublegetThickness()返回女儿墙厚度/坡屋顶厚度,单位:米。voidsetAngle(double roofAngle)设置坡屋顶坡度,仅满足建筑物的建筑类型为坡屋顶。voidsetBottomHeight(double bottomHeight)设置建筑底部高度。voidsetBuildingHeight(double buildingHeight)设置建筑高度。voidsetOverhang(double roofOverhang)设置建筑物的屋顶外扩、内缩(坡屋顶无内缩)。voidsetParapetHeight(double roofHeight)设置女儿墙高度,仅满足建筑物的建筑类型为女儿墙和平屋顶。voidsetRoofType(RoofType roofType)设置建筑物的建筑类型。voidsetThickness(double roofThickness)设置女儿墙厚度/坡屋顶厚度。
-
-
-
构造器详细资料
-
RoofGeneratorParameter
public RoofGeneratorParameter(double buildingHeight)
根据传入的建筑高度,来构造一个新对象。- 参数:
buildingHeight- 建筑高度
-
RoofGeneratorParameter
public RoofGeneratorParameter(double buildingHeight, double bottomHeight, double roofAngle, double roofThickness, double roofHeight, double roofOverhang, RoofType roofType)根据传入的参数,来构造一个新对象。- 参数:
buildingHeight- 建筑高度bottomHeight- 建筑底部高度roofAngle- 坡屋顶坡度(双坡、四坡) 参考范围:15 - 45roofThickness- 女儿墙厚度、坡屋顶厚度 参考范围: 0.1 - 0.3roofHeight- 女儿墙高度 参考范围: 0.1 - 2.5roofOverhang- 屋顶外扩、内缩(坡屋顶无内缩) 参考范围:坡屋顶 0.5 - 1.5 女儿墙与墙厚一致roofType- 屋顶类型 参考类型: Parapet Flat Hipped Gabled MonoPitched
-
-
方法详细资料
-
getBottomHeight
public double getBottomHeight()
返回建筑底部高度,单位:米。- 返回:
- 建筑底部高度.
-
setBottomHeight
public void setBottomHeight(double bottomHeight)
设置建筑底部高度。- 参数:
bottomHeight- 建筑底部高度
-
getBuildingHeight
public double getBuildingHeight()
返回建筑高度,单位:米。- 返回:
- 建筑高度.
-
setBuildingHeight
public void setBuildingHeight(double buildingHeight)
设置建筑高度。当建筑物高度接近0的时候,就只生成屋顶。- 参数:
buildingHeight- 建筑高度
-
getAngle
public double getAngle()
返回坡屋顶坡度,单位:度。- 返回:
- 坡屋顶坡度。
-
setAngle
public void setAngle(double roofAngle)
设置坡屋顶坡度,仅满足建筑物的建筑类型为坡屋顶。- 参数:
roofAngle- 坡屋顶坡度
-
getThickness
public double getThickness()
返回女儿墙厚度/坡屋顶厚度,单位:米。- 返回:
- 女儿墙厚度/坡屋顶厚度。
-
setThickness
public void setThickness(double roofThickness)
设置女儿墙厚度/坡屋顶厚度。当建筑类型为女儿墙、平屋顶时,该接口为设置女儿墙厚度;当建筑类型为坡屋顶时,该接口为设置坡屋顶厚度。- 参数:
roofThickness- 女儿墙厚度/坡屋顶厚度
-
getParapetHeight
public double getParapetHeight()
返回女儿墙高度,单位:米。- 返回:
- 女儿墙高度。
-
setParapetHeight
public void setParapetHeight(double roofHeight)
设置女儿墙高度,仅满足建筑物的建筑类型为女儿墙和平屋顶。- 参数:
roofHeight- 女儿墙高度
-
getOverhang
public double getOverhang()
返回建筑物的屋顶外扩、内缩(坡屋顶无内缩),单位:米。- 返回:
- 建筑物的屋顶外扩、内缩。
-
setOverhang
public void setOverhang(double roofOverhang)
设置建筑物的屋顶外扩、内缩(坡屋顶无内缩)。- 参数:
roofOverhang- 建筑物的屋顶外扩、内缩。
-
getRoofType
public RoofType getRoofType()
返回建筑物的建筑类型。- 返回:
- 建筑类型。
-
setRoofType
public void setRoofType(RoofType roofType)
设置建筑物的建筑类型。 建筑物的建筑类型。
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.