com.supermap.realspace.spatialanalyst
类 ContourMap
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.spatialanalyst.ContourMap
-
- 所有已实现的接口:
- IDisposable
public class ContourMap extends com.supermap.data.InternalHandleDisposable
等高线图类。可设置分析区域、颜色表及对应的最大最小高程、等高线间距、等高线显示风格,用于提取等值线。
-
-
构造器概要
构造器 构造器和说明 ContourMap(Scene scene)
根据指定的Scene对象,构造一个新的ContourMap对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 boolean
build()
执行提取等高线。void
clear()
清除分析结果。void
dispose()
释放ContourMap对象占用的本地资源。Color
getBorderColor()
获取等高线分析分析区域边框颜色。HashMap<Double,Color>
getColorDictTable()
获取等高线的颜色表。Rectangle2D
getCoverageArea()
获取绘制等高线的区域。Geometry
getCoverageRegion()
获取绘制等高线的区域。ContourDisplayMode
getDisplayStyle()
获取等高线的显示风格。double
getInterval()
获取等高线间距。Color
getLineColor()
获取等高线的颜色。double
getMaxVisibleAltitude()
获取分析的最大可视高度。double
getMinVisibleAltitude()
获取分析的最小可视高度。double
getOpacity()
获取等高线的不透明度。boolean
isBorderVisible()
获取等高线分析区域边框是否可见。void
setBorderColor(Color borderColor)
设置等高线分析区域边框颜色。void
setBorderVisible(boolean borderVisible)
设置等高线分析区域边框是否可见。void
setColorDictTable(HashMap<Double,Color> colorTable)
给等高线设置指定的颜色表。void
setCoverageArea(Rectangle2D value)
设置绘制等高线的区域。void
setCoverageRegion(Geometry coverageRegion)
设置绘制等高线的区域。void
setDisplayStyle(ContourDisplayMode mode)
设置等高线的显示风格。void
setInterval(double interval)
设置等高线间距。void
setLineColor(Color lineColor)
设置等高线的颜色。void
setMaxVisibleAltitude(double maxVisibleAltitude)
设置分析的最大可视高度。void
setMinVisibleAltitude(double minVisibleAltitude)
设置分析的最小可视高度。void
setOpacity(double opacity)
设置等高线的不透明度,范围(0-100)。
-
-
-
构造器详细资料
-
ContourMap
public ContourMap(Scene scene)
根据指定的Scene对象,构造一个新的ContourMap对象。- 参数:
scene
- 指定的场景对象。
-
-
方法详细资料
-
getInterval
public double getInterval()
获取等高线间距。- 返回:
- 等高线间距。
-
setInterval
public void setInterval(double interval)
设置等高线间距。- 参数:
interval
- 指定的等高线间距。
-
getLineColor
public Color getLineColor()
获取等高线的颜色。- 返回:
- 等高线的颜色。
-
setLineColor
public void setLineColor(Color lineColor)
设置等高线的颜色。- 参数:
lineColor
- 指定的颜色。
-
getCoverageRegion
public Geometry getCoverageRegion()
获取绘制等高线的区域。- 返回:
- 等高线绘制区域。
-
setCoverageRegion
public void setCoverageRegion(Geometry coverageRegion)
设置绘制等高线的区域。- 参数:
coverageRegion
- 指定的绘制区域。
-
getOpacity
public double getOpacity()
获取等高线的不透明度。- 返回:
- 表示不透明度的数值。
-
setOpacity
public void setOpacity(double opacity)
设置等高线的不透明度,范围(0-100)。- 参数:
opacity
- 指定的不透明度数值。
-
getDisplayStyle
public ContourDisplayMode getDisplayStyle()
获取等高线的显示风格。- 返回:
- 等高线的显示风格。
-
setDisplayStyle
public void setDisplayStyle(ContourDisplayMode mode)
设置等高线的显示风格。- 参数:
mode
- 指定的显示风格。
-
getMinVisibleAltitude
public double getMinVisibleAltitude()
获取分析的最小可视高度。- 返回:
- 分析的最小可视高度。
-
setMinVisibleAltitude
public void setMinVisibleAltitude(double minVisibleAltitude)
设置分析的最小可视高度。- 参数:
minVisibleAltitude
- 指定分析的最小可视高度。
-
getMaxVisibleAltitude
public double getMaxVisibleAltitude()
获取分析的最大可视高度。- 返回:
- 最大可视高度。
-
setMaxVisibleAltitude
public void setMaxVisibleAltitude(double maxVisibleAltitude)
设置分析的最大可视高度。- 参数:
maxVisibleAltitude
- 指定的最大可视高度。
-
isBorderVisible
public boolean isBorderVisible()
获取等高线分析区域边框是否可见。- 返回:
- 分析区域边框的可见性。
-
setBorderVisible
public void setBorderVisible(boolean borderVisible)
设置等高线分析区域边框是否可见。- 参数:
borderVisible
- 指定边框的可见性。
-
getBorderColor
public Color getBorderColor()
获取等高线分析分析区域边框颜色。- 返回:
- 分析区域边框颜色。
-
setBorderColor
public void setBorderColor(Color borderColor)
设置等高线分析区域边框颜色。- 参数:
borderColor
- 指定的边框颜色。
-
setColorDictTable
public void setColorDictTable(HashMap<Double,Color> colorTable)
给等高线设置指定的颜色表。- 参数:
colorTable
- 指定的颜色表。
-
getCoverageArea
public Rectangle2D getCoverageArea()
获取绘制等高线的区域。- 返回:
- 绘制等高线的区域。
-
setCoverageArea
public void setCoverageArea(Rectangle2D value)
设置绘制等高线的区域。- 参数:
value
- 指定的绘制等高线的区域。
-
build
public boolean build()
执行提取等高线。- 返回:
- 执行分析是否成功,成功返回true,否则返回false。
-
clear
public void clear()
清除分析结果。
-
dispose
public void dispose()
释放ContourMap对象占用的本地资源。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.