com.supermap.analyst.spatialanalyst
类 NeighbourShapeRectangle
- java.lang.Object
-
- com.supermap.analyst.spatialanalyst.NeighbourShape
-
- com.supermap.analyst.spatialanalyst.NeighbourShapeRectangle
-
public class NeighbourShapeRectangle extends NeighbourShape
矩形邻域形状类,继承自NeighbourShape
类。
-
-
构造器概要
构造器 构造器和说明 NeighbourShapeRectangle()
构造一个新的 NeighbourShapeRectangle 对象。NeighbourShapeRectangle(NeighbourShapeRectangle parameter)
根据给定的 NeighbourShapeRectangle 对象构造一个与其完全相同的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 double
getHeight()
返回矩形邻域的高。NeighbourShapeType
getShapeType()
返回邻域形状类型。double
getWidth()
返回矩形邻域的宽。void
setHeight(double value)
设置矩形邻域的高。void
setWidth(double value)
设置矩形邻域的宽。-
从类继承的方法 com.supermap.analyst.spatialanalyst.NeighbourShape
getUnitType, setUnitType
-
-
-
-
构造器详细资料
-
NeighbourShapeRectangle
public NeighbourShapeRectangle()
构造一个新的 NeighbourShapeRectangle 对象。
-
NeighbourShapeRectangle
public NeighbourShapeRectangle(NeighbourShapeRectangle parameter)
根据给定的 NeighbourShapeRectangle 对象构造一个与其完全相同的新对象。- 参数:
parameter
- 指定的 NeighbourShapeRectangle 对象。
-
-
方法详细资料
-
getShapeType
public NeighbourShapeType getShapeType()
返回邻域形状类型。- 指定者:
getShapeType
在类中NeighbourShape
- 返回:
- 邻域形状类型。
-
getWidth
public double getWidth()
返回矩形邻域的宽。单位由setUnitType
方法决定。- 返回:
- 矩形邻域的宽。
- 默认值:
- 默认值为 0.0。
-
getHeight
public double getHeight()
返回矩形邻域的高。单位由setUnitType
方法决定。- 返回:
- 矩形邻域的高。
- 默认值:
- 默认值为 0.0。
-
setWidth
public void setWidth(double value)
设置矩形邻域的宽。单位由setUnitType
方法决定。- 参数:
value
- 矩形邻域的宽。
-
setHeight
public void setHeight(double value)
设置矩形邻域的高。单位由setUnitType
方法决定。- 参数:
value
- 矩形邻域的高。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.