com.supermap.realspace.threeddesigner
类 GeometryProcessor
- java.lang.Object
-
- com.supermap.realspace.threeddesigner.GeometryProcessor
-
public class GeometryProcessor extends Object
建模相关工具类,用于对建筑物边界规范化处理。
-
-
嵌套类概要
嵌套类 限定符和类型 类和说明 static class
GeometryProcessor.PreprocessResult
线预处理结果类,包含处理结果和异常数据,当没有异常数据时error为空。
-
构造器概要
构造器 构造器和说明 GeometryProcessor()
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static GeometryProcessor.PreprocessResult
linePreprocess(GeoLine3D line, boolean isLonLat, LinePreprocessParameter parameter)
线预处理 现有异常夹角去除、自相交检查。static GeoRegion
regularizeBuildingFootprint(GeoRegion geoRegion, boolean isLonLat, FootprintRegularizationParameter parameter)
建筑物边界规范化,即将不规则的建筑物矢量面边界变得更加规则,棱角清晰。
-
-
-
方法详细资料
-
regularizeBuildingFootprint
public static GeoRegion regularizeBuildingFootprint(GeoRegion geoRegion, boolean isLonLat, FootprintRegularizationParameter parameter)
建筑物边界规范化,即将不规则的建筑物矢量面边界变得更加规则,棱角清晰。- 参数:
geoRegion
- 需要规范化处理的面。isLonLat
- 数据是否是经纬度数据。parameter
- 规范化处理需要的相关参数。- 返回:
- 规范化处理后的矢量面。
-
linePreprocess
public static GeometryProcessor.PreprocessResult linePreprocess(GeoLine3D line, boolean isLonLat, LinePreprocessParameter parameter)
线预处理 现有异常夹角去除、自相交检查。- 参数:
line
- 需要处理的线段。isLonLat
- 数据是否是经纬度数据。parameter
- 处理的相关参数,可为角度检查参数,线段自相交检查参数。- 返回:
- 返回预处理的结果,结果包含处理后的线段和错误数据,当没有错误数据时error为null。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.