public abstract class ModelBuilder3D extends Object
构造器和说明 |
---|
ModelBuilder3D() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addSteppedListener(SteppedListener l) |
static boolean |
buildGeoBody(ArrayList<Geometry3D> geoBlocks,
ArrayList<Point3Ds> ptLevels,
boolean bLonLat,
Geometry clipRegions) |
static GeoModel3D |
buildGeoBody(Point3Ds ptList,
double[] maxHighList,
double[] minHighList)
点集中每个点的最大高度和最小高度构建地质体。
|
static GeoTIM |
buildTIM(DatasetVector pDatasetVector,
String strFieldName)
构建不规则四面体网格。
|
static GeoTIM |
buildTIM(HashMap<Point3D,Double> dicPoints,
boolean bLatLon)
构建不规则四面体网格。
|
static GeoModel3D |
buildTIN(HashMap<Point3D,Double> dicPoints,
Boolean bLonLat,
Geometry clipRegions)
点集构建三角网模型
|
static GeoModel3D |
buildTIN(Point3Ds ptList,
boolean bLonLat,
Geometry clipRegions)
点集构建三角网模型。
|
static boolean |
clip(GeoModel3D model,
ArrayList<Geometry> clipRegionList,
ClippingType clippingType,
ConstraintType constraintType) |
static GeoModel3D |
clip(GeoModel3D model,
GeoRegion3D clipPlane,
ModelClipType type)
已过时。
|
static ArrayList<GeoRegion3D> |
combinePolygon(ArrayList<GeoRegion3D> regions,
boolean bLonLat,
BorderType borderType,
double dulplicateVerticesThreshold)
支持多个三维面合并。
|
static boolean |
combineSkeletonByMaterial(Model modelSrc,
Model modelResult)
已过时。
|
static GeoRegion3D |
computeConcaveHull(Point3Ds pnts,
boolean bLonLat,
double dConcavity,
double dLengthThreshold)
计算三维点集的凹多边形,返回的三维面带Z值
|
static GeoModel3D |
convexHull(ArrayList<GeoPoint3D> geoPnts,
boolean bLonLat)
计算凸包。
|
static Model |
convexHull(Model modelSrc)
计算凸包
|
static Model |
convexHull(Model modelSrc,
SkeletonID id)
计算凸包
|
static GeoModel3D |
convexHull(Point3Ds pnts,
boolean bLonLat)
计算凸包。
|
static Model |
convexHull(Skeleton skeleton,
Matrix matrix)
计算凸包
|
static Model |
convexHullPerSkeleton(Model modelSrc)
计算凸包:每个子对象对应一个凸包。
|
static boolean |
correctNonManifold(Skeleton skeleton,
ArrayList<HashMap<Point3D,Point3D>> manifoldLines,
ArrayList<Point3D> points)
校正非流形的骨架。
|
static boolean |
correctTopology(Skeleton skeleton)
骨架三角网拓扑校正
|
static Geometry |
createBuffer(Geometry geometry,
boolean isLonLat,
BufferParameter parameter)
三维缓冲,支持三维线、三维面缓冲(拓展)成三维面;支持三维线、三维面、模型缓冲(拓展)成三维实体模型。
|
static ArrayList<GeoModel3D> |
envelop(Geometry3D geometry3D,
EnvelopParameter parameter)
三维面几何对象构建闭合体,支持非经纬度坐标三维面几何对象构建闭合体。
|
static ArrayList<GeoModel3D> |
envelop(GeoModel3D geomodel,
double dbZ)
已过时。
|
static ArrayList<GeoModel3D> |
envelop(GeoRegion3D geometry,
double dbZ)
已过时。
|
static boolean |
extractAttributeVoxelGrid(DatasetVector datasetVectorSrc,
DatasetVolume datasetVolume,
Datasource targetDatasourceDes,
String strDatasetName,
ColorDictionary colorDictTable,
double subdivisionThreshold) |
static ArrayList<GeoRegion3D> |
extractBorder(GeoModel3D geoModel,
BorderType borderType)
提取边界。
|
static GeoModel3D |
generateRoofedBuilding(GeoRegion geoRegion,
boolean isLonLat,
boolean isRandom,
RoofGeneratorParameter parameter)
矢量面构建屋顶。
|
static ArrayList<Geometry3D> |
geometryMatch(GeoModel3D geoModel,
ArrayList<Geometry> geometryList,
MatchParameter matchParam)
二维数据通过model匹配成三维数据
|
static GeoModel3D |
linearExtrude(Geometry geometry,
boolean bLonLat,
double height,
double twist,
double scaleX,
double scaleY)
已过时。
|
static GeoModel3D |
linearExtrude(Geometry geometry,
boolean bLonLat,
double height,
double twist,
double scaleX,
double scaleY,
TextureMapParameter texParam)
已过时。
|
static GeoModel3D |
linearExtrude(Geometry geometry,
boolean bLonLat,
LinearExtrudeParameter extParam,
TextureMapParameter uvwParam)
线性拉伸,可进行贴图设置。
|
static ArrayList<GeoRegion3D> |
loft(GeoLine offsetSection,
GeoLine3D geoLine,
boolean bLonLat,
boolean bGroup)
多级边坡放样,支持截面为线对象,依据道路边线放样为三维边坡面。
|
static GeoModel3D |
loft(Geometry geometry,
GeoLine3D line,
boolean bLonLat,
int Chamfer,
ChamferStyle style)
放样
|
static GeoModel3D |
loft(Geometry geometry,
GeoLine3D line,
boolean bLonLat,
int Chamfer,
ChamferStyle style,
TextureMapParameter texParam)
放样
|
static GeoModel3D |
loft(Geometry geometry,
GeoLine3D line,
boolean bLonLat,
LoftParameter loftParams,
TextureMapParameter uvwParam)
放样
|
static GeoRegion3D |
makeRegion3D(Region3DParameter region3DParameter)
支持公式参数化构建矢量面
|
static GeoModel3D |
makeSurfaceMesh(SurfaceMeshParameter parameter)
曲面建模
|
static boolean |
mergeSkeleton(Model modelSrc,
Model modelResult,
boolean bHasLOD)
根据材质合并骨架
|
static boolean |
mirror(GeoModel3D model,
Plane plane)
镜像。
|
static boolean |
mosaic(GeoModel3D model,
ArrayList<Geometry> mosaicRegionList)
获取三角网操作中模型镶嵌信息,支持模型与矢量面进行镶嵌。
|
static boolean |
optimizeSkeletons(Model srcModel,
Model desModel)
用于模型子对象优化。
|
static GeoRegion |
planeProjection(GeoModel3D model)
平面投影:仅支持投影坐标系模型
|
static GeoRegion3D |
planeProjection(GeoModel3D model,
Plane plane)
平面投影
|
static GeoRegion |
planeProjection2D(GeoModel3D model,
Plane plane)
平面投影,将获得的投影转到XY上
|
static boolean |
reComputeNormal(Model modelSrc,
Model modelResult,
NormalComputeMode normalMode,
double dAngle)
重新计算法线
|
static boolean |
removeDuplicateTriangle(Skeleton skeleton)
骨架移除重复三角形。
|
static int |
removeDuplicateVertex2(Model modelSrc,
Model modelResult)
移除重复顶点;结果为带属性的Index
|
static int |
removeDuplicateVertex2(Skeleton skeleton)
移除重复顶点
|
static int |
removeDuplicateVertex2WithNormal(Skeleton skeleton)
移除重复点保留法线
|
static int |
removeRedundantVertex(Model modelSrc,
Model modelResult,
double dThreshold)
移除共面的冗余点
|
static int |
removeRedundantVertex(Skeleton skeleton,
double dThreshold)
根据容差,移除 Skeleton 上共面的冗余顶点
|
static void |
removeSteppedListener(SteppedListener l) |
static int |
removeUnreferencedVertex(Model modelSrc,
Model modelResult)
已过时。
|
static GeoModel3D |
rotateExtrude(Geometry geometry,
double angle)
旋转拉伸
|
static GeoModel3D |
rotateExtrude(Geometry geometry,
RotateExtrudeParameter rotParam)
旋转拉伸
|
static GeoModel3D |
sectionLoft(ArrayList<Geometry3D> arrSections,
boolean isLonLat,
SectionLoftParameter param)
多截面放样
|
static ArrayList<GeoRegion3D> |
sectionProjection(ArrayList<GeoModel3D> modelList,
Plane plane)
截面投影,获得截面
|
static GeoRegion |
sectionProjection(GeoModel3D model)
已过时。
|
static ArrayList<GeoRegion3D> |
sectionProjection(GeoModel3D model,
ArrayList<Plane> planeList)
截面投影,获得截面
|
static GeoRegion3D |
sectionProjection(GeoModel3D model,
Plane plane)
截面投影,获得截面
|
static GeoRegion |
sectionProjection2D(GeoModel3D model,
Plane plane)
截面投影,获得的截面转到XY上
|
static GeoModel3D |
shadowVolume(GeoModel3D model,
ShadowVolumeSetting param)
创建阴影体
|
static boolean |
simplify(Model modelSrc,
Model modelResult,
ArrayList<SkeletonID> listIDs,
double[] listRatio,
boolean bConstrainBorder)
精细层指定子对象简化
|
static boolean |
simplify(Model modelSrc,
Model modelResult,
ArrayList<SkeletonID> listIDs,
double[] listRatio,
double[] listThreshold)
精细层指定子对象简化
|
static boolean |
simplify(Model modelSrc,
Model modelResult,
double dbRatio,
boolean bConstrainBorder)
精细层简化
|
static boolean |
simplify(Model modelSrc,
Model modelResult,
double dbRatio,
double dbThreshold)
精细层简化
|
static GeoModel3D |
skylineSectorBody(GeoLine3D line3D,
Point3D pntViewer,
double dHeight,
boolean bLatLon)
获取天际线与观察点构成的闭合体,目前仅用于WebGL端构建实体。
|
static int |
split(Model modelSrc,
Model modelResult)
已过时。
|
static int |
split(Model modelSrc,
Model modelResult,
double dThreshold)
已过时。
|
static boolean |
splitSkeleton(Model modelSrc,
Model modelResult,
boolean bVertexPositionConsidered)
模型的子对象拆分
|
static boolean |
splitSkeleton(Model srcModel,
Model desModel,
SplitParameter splitParameter)
骨架拆分
|
static GeoModel3D |
straightSkeleton(Geometry geometry,
boolean bLonLat,
double dAngle)
直骨架生成(可以用于构建坡屋顶)。
|
static ArrayList<SunlightAnalysisPointResult> |
sunlightAnalysis(Geometry3D geometry,
GeoModel3D geoModelDes,
SunlightAnalysisSetting param,
boolean bLatLon)
日照分析
|
static ArrayList<SunlightAnalysisPointResult> |
sunlightAnalysis(Point3Ds ptList,
SunlightAnalysisSetting param,
boolean bLatLon)
三维点日照分析
|
static GeoModel3D |
tessellate(Geometry3D geometry3D,
boolean isLonLat,
TessellationParameter param)
细分,将Geometry3D转化为GeoModel3D
|
static boolean |
textureBoundaryOptimization(Model srcModel,
Model desModel,
Color backgroundColor)
优化模型纹理边界,使接边处的纹理不发黑。
|
static boolean |
textureRemapping(Model srcModel,
Model desModel)
模型数据纹理重映射。
|
static boolean |
uvwMap(GeoModel3D model,
TextureMapParameter texParam)
模型贴纹理:按模型整体进行纹理贴图映射
|
static boolean |
uvwMap(Skeleton skeleton,
TextureMapParameter texParam)
骨架贴纹理:按骨架进行纹理贴图映射
|
static GeoModel3D |
viewShedBody(ArrayList<Point3Ds> point3Dlist,
Point3D pntViewer,
double dRadius,
ViewShedType type,
boolean bLatLon)
获取可视域闭合体,目前仅用于WebGL端构建实体.
|
public static void addSteppedListener(SteppedListener l)
public static void removeSteppedListener(SteppedListener l)
public static GeoModel3D generateRoofedBuilding(GeoRegion geoRegion, boolean isLonLat, boolean isRandom, RoofGeneratorParameter parameter)
geoRegion
- 矢量面。isLonLat
- 数据是否是经纬度。isRandom
- 是否随机添加屋顶,isRandom为true时, 屋顶构造参数只需要设置一个建筑物高度,底层会随机给一个屋顶类型并设置相应的参数。parameter
- 屋顶参数。public static boolean buildGeoBody(ArrayList<Geometry3D> geoBlocks, ArrayList<Point3Ds> ptLevels, boolean bLonLat, Geometry clipRegions)
public static GeoModel3D buildGeoBody(Point3Ds ptList, double[] maxHighList, double[] minHighList)
ptList
- 多层点集maxHighList
- 点的最大高度集合minHighList
- 点的最小高度集合public static GeoModel3D buildTIN(Point3Ds ptList, boolean bLonLat, Geometry clipRegions)
ptList
- 点集bLonLat
- 是否是经纬度clipRegions
- 裁剪范围@Deprecated public static boolean combineSkeletonByMaterial(Model modelSrc, Model modelResult)
public static GeoModel3D convexHull(ArrayList<GeoPoint3D> geoPnts, boolean bLonLat)
geoPnts
- 点集bLonLat
- geoPnts是否是经纬度public static GeoModel3D convexHull(Point3Ds pnts, boolean bLonLat)
pnts
- 点集bLonLat
- pnts是否是经纬度public static Model convexHull(Model modelSrc, SkeletonID id)
modelSrc
- 源模型id
- 子对象public static Model convexHullPerSkeleton(Model modelSrc)
modelSrc
- 源模型@Deprecated public static ArrayList<GeoModel3D> envelop(GeoModel3D geomodel, double dbZ)
@Deprecated public static ArrayList<GeoModel3D> envelop(GeoRegion3D geometry, double dbZ)
public static ArrayList<GeoRegion3D> extractBorder(GeoModel3D geoModel, BorderType borderType)
geoModel
- 源模型borderType
- 边界类型@Deprecated public static GeoModel3D linearExtrude(Geometry geometry, boolean bLonLat, double height, double twist, double scaleX, double scaleY)
@Deprecated public static GeoModel3D linearExtrude(Geometry geometry, boolean bLonLat, double height, double twist, double scaleX, double scaleY, TextureMapParameter texParam)
public static GeoModel3D linearExtrude(Geometry geometry, boolean bLonLat, LinearExtrudeParameter extParam, TextureMapParameter uvwParam)
geometry
- 待进行线性拉伸的面bLonLat
- 是否是经纬度extParam
- 拉伸参数uvwParam
- 纹理设置参数public static GeoModel3D loft(Geometry geometry, GeoLine3D line, boolean bLonLat, int Chamfer, ChamferStyle style)
geometry
- 放样的横截面line
- 待放样的线对象bLonLat
- 是否是经纬度Chamfer
- 平滑程度style
- 倒角样式public static GeoModel3D loft(Geometry geometry, GeoLine3D line, boolean bLonLat, int Chamfer, ChamferStyle style, TextureMapParameter texParam)
geometry
- 放样的横截面line
- 待放样的线对象bLonLat
- 是否是经纬度Chamfer
- 平滑程度style
- 倒角样式texParam
- 贴图设置public static GeoModel3D loft(Geometry geometry, GeoLine3D line, boolean bLonLat, LoftParameter loftParams, TextureMapParameter uvwParam)
geometry
- 放样的横截面line
- 待放样的线对象bLonLat
- 是否是经纬度loftParams
- 放样的参数uvwParam
- 纹理映射参数public static GeoRegion planeProjection(GeoModel3D model)
model
- 源模型public static GeoRegion3D planeProjection(GeoModel3D model, Plane plane)
model
- 源模型plane
- 平面public static GeoRegion planeProjection2D(GeoModel3D model, Plane plane)
model
- 源模型plane
- 平面public static boolean reComputeNormal(Model modelSrc, Model modelResult, NormalComputeMode normalMode, double dAngle)
modelSrc
- 源模型modelResult
- 结果模型normalMode
- 法线计算模式dAngle
- 拆分的角度阈值public static int removeDuplicateVertex2(Model modelSrc, Model modelResult)
modelSrc
- 源模型modelResult
- 结果模型public static int removeDuplicateVertex2(Skeleton skeleton)
skeleton
- 源模型骨架@Deprecated public static int removeUnreferencedVertex(Model modelSrc, Model modelResult)
modelSrc
- 源模型modelResult
- 结果模型public static GeoModel3D rotateExtrude(Geometry geometry, double angle)
geometry
- 面对象(必须在平面坐标系下构建)angle
- 旋转角度public static GeoModel3D rotateExtrude(Geometry geometry, RotateExtrudeParameter rotParam)
geometry
- 面对象(必须在平面坐标系下构建)rotParam
- 旋转拉伸参数@Deprecated public static GeoRegion sectionProjection(GeoModel3D model)
public static GeoRegion sectionProjection2D(GeoModel3D model, Plane plane)
model
- 待进行截面投影的三维几何模型对象plane
- 投影平面public static GeoRegion3D sectionProjection(GeoModel3D model, Plane plane)
model
- 待进行截面投影的三维几何模型对象plane
- 投影平面public static ArrayList<GeoRegion3D> sectionProjection(ArrayList<GeoModel3D> modelList, Plane plane)
modelList
- 待进行截面投影的三维几何模型对象集合plane
- 投影平面public static ArrayList<GeoRegion3D> sectionProjection(GeoModel3D model, ArrayList<Plane> planeList)
model
- 待进行截面投影的三维几何模型对象planeList
- 裁剪平面集合public static GeoModel3D shadowVolume(GeoModel3D model, ShadowVolumeSetting param)
model
- 源模型param
- 阴影体设置参数public static boolean simplify(Model modelSrc, Model modelResult, double dbRatio, boolean bConstrainBorder)
modelSrc
- 源模型modelResult
- 简化结果(外部可以事先设置关联的EM)dbRatio
- 简化率:即简化为原来的多少bConstrainBorder
- 是否约束边界public static boolean simplify(Model modelSrc, Model modelResult, double dbRatio, double dbThreshold)
modelSrc
- 源模型modelResult
- 简化结果(外部可以事先设置关联的EM)dbRatio
- 简化率:即简化为原来的多少dbThreshold
- 最大简化边长:边长大于dbThreshold的,不参与简化public static boolean simplify(Model modelSrc, Model modelResult, ArrayList<SkeletonID> listIDs, double[] listRatio, boolean bConstrainBorder)
modelSrc
- 源模型modelResult
- 简化结果(外部可以事先设置关联的EM)listIDs
- 指定子对象ID集合listRatio
- 指定子对象简化率集合:即简化为原来的多少bConstrainBorder
- 是否约束边界public static boolean simplify(Model modelSrc, Model modelResult, ArrayList<SkeletonID> listIDs, double[] listRatio, double[] listThreshold)
modelSrc
- 源模型modelResult
- 简化结果(外部可以事先设置关联的EM)listIDs
- 指定子对象ID集合listRatio
- 指定子对象简化率集合:即简化为原来的多少listThreshold
- 指定子对象最大简化边长集合:边长大于dbThreshold的,不参与简化@Deprecated public static int split(Model modelSrc, Model modelResult)
modelSrc
- 源模型modelResult
- 结果模型public static boolean splitSkeleton(Model modelSrc, Model modelResult, boolean bVertexPositionConsidered)
modelSrc
- 源模型modelResult
- 结果模型bVertexPositionConsidered
- 拆分时是否考虑顶点位置public static GeoModel3D straightSkeleton(Geometry geometry, boolean bLonLat, double dAngle)
geometry
- 面对象bLonLat
- 是否是经纬度dAngle
- 角度,一个Double值,值域(0.1,90),单位为度public static boolean uvwMap(GeoModel3D model, TextureMapParameter texParam)
model
- 源模型texParam
- 纹理映射参数public static boolean uvwMap(Skeleton skeleton, TextureMapParameter texParam)
skeleton
- 骨架texParam
- 纹理映射参数public static ArrayList<SunlightAnalysisPointResult> sunlightAnalysis(Geometry3D geometry, GeoModel3D geoModelDes, SunlightAnalysisSetting param, boolean bLatLon)
geometry
- 源对象geoModelDes
- 结果对象param
- 阴影率分析参数bLatLon
- 是否是经纬度public static ArrayList<SunlightAnalysisPointResult> sunlightAnalysis(Point3Ds ptList, SunlightAnalysisSetting param, boolean bLatLon)
ptList
- 三维点集合param
- 阴影率分析参数bLatLon
- 是否是经纬度@Deprecated public static int split(Model modelSrc, Model modelResult, double dThreshold)
public static GeoModel3D skylineSectorBody(GeoLine3D line3D, Point3D pntViewer, double dHeight, boolean bLatLon)
line3D
- 天际线分析结果线,不含视点pntViewer
- 相机视点dHeight
- 闭合体向下拉伸高度bLatLon
- 是否是经纬度public static GeoModel3D viewShedBody(ArrayList<Point3Ds> point3Dlist, Point3D pntViewer, double dRadius, ViewShedType type, boolean bLatLon)
point3Dlist
- 可视域球面顶点数组pntViewer
- 相机视点dRadius
- 可视域半径type
- 闭合体类型bLatLon
- 是否是经纬度数据@Deprecated public static GeoModel3D clip(GeoModel3D model, GeoRegion3D clipPlane, ModelClipType type)
public static boolean clip(GeoModel3D model, ArrayList<Geometry> clipRegionList, ClippingType clippingType, ConstraintType constraintType)
public static Geometry createBuffer(Geometry geometry, boolean isLonLat, BufferParameter parameter)
geometry
- 二、三维线、面及模型对象isLonLat
- 是否支持经纬度parameter
- 缓冲参数设置public static boolean mergeSkeleton(Model modelSrc, Model modelResult, boolean bHasLOD)
modelSrc
- 源模型modelResult
- 结果模型bHasLOD
- 是否存在lodpublic static boolean extractAttributeVoxelGrid(DatasetVector datasetVectorSrc, DatasetVolume datasetVolume, Datasource targetDatasourceDes, String strDatasetName, ColorDictionary colorDictTable, double subdivisionThreshold)
public static boolean removeDuplicateTriangle(Skeleton skeleton)
skeleton
- 模型骨架public static boolean correctTopology(Skeleton skeleton)
skeleton
- 指定进行三角网拓扑校正的骨架。public static boolean mirror(GeoModel3D model, Plane plane)
model
- 进行镜像复制的三维模型对象plane
- 平面public static GeoTIM buildTIM(DatasetVector pDatasetVector, String strFieldName)
pDatasetVector
- 待构建不规则四面体网格的点数据集strFieldName
- 特征字段名public static GeoTIM buildTIM(HashMap<Point3D,Double> dicPoints, boolean bLatLon)
dicPoints
- 点对象集合。键值为三维点对象,值为特征值bLatLon
- 是否是经纬度public static boolean mosaic(GeoModel3D model, ArrayList<Geometry> mosaicRegionList)
model
- 模型对象mosaicRegionList
- 进行镶嵌的矢量面集合public static boolean correctNonManifold(Skeleton skeleton, ArrayList<HashMap<Point3D,Point3D>> manifoldLines, ArrayList<Point3D> points)
skeleton
- 进行校正的骨架manifoldLines
- 构成骨架有问题的棱角边线集合,即有问题边。键为有问题的某一边线的起始点,值为该边线的终止点points
- 有问题的点集合public static ArrayList<Geometry3D> geometryMatch(GeoModel3D geoModel, ArrayList<Geometry> geometryList, MatchParameter matchParam)
geoModel
- 用于查询匹配的模型geometryList
- 待查询的二维数据的集合matchParam
- 匹配参数public static ArrayList<GeoRegion3D> loft(GeoLine offsetSection, GeoLine3D geoLine, boolean bLonLat, boolean bGroup)
offsetSection
- 用于多级边坡放样的矢量线,支持二、三维矢量线数据,可表达沿道边线。必须在平面坐标系下构建geoLine
- 边坡的截面样式,用三维线表达bLonLat
- 用于放样的矢量线数据的坐标系是否是经纬度bGroup
- 放样的多级边坡是否进行打组。false表示不打组,即多级边坡是不同的对象,可以设置不同的纹理贴图;true表示打组,即多级边坡为一个对象public static GeoModel3D makeSurfaceMesh(SurfaceMeshParameter parameter)
parameter
- 曲面建模参数对象public static boolean textureRemapping(Model srcModel, Model desModel)
srcModel
- 待纹理重映射的模型数据desModel
- 纹理重映射后的模型对象public static boolean textureBoundaryOptimization(Model srcModel, Model desModel, Color backgroundColor)
srcModel
- 原始模型数据。desModel
- 结果模型数据。backgroundColor
- 背景色。public static int removeDuplicateVertex2WithNormal(Skeleton skeleton)
skeleton
- 骨架public static ArrayList<GeoRegion3D> combinePolygon(ArrayList<GeoRegion3D> regions, boolean bLonLat, BorderType borderType, double dulplicateVerticesThreshold)
regions
- 合并的三维面对象集合bLonLat
- 是否是经纬度坐标borderType
- 指定约束边界类型dulplicateVerticesThreshold
- 设置节点插值阈值,单位:米public static GeoRegion3D makeRegion3D(Region3DParameter region3DParameter)
region3DParameter
- 三维面参数public static int removeRedundantVertex(Model modelSrc, Model modelResult, double dThreshold)
modelSrc
- 源模型modelResult
- 结果模型dThreshold
- 容差,点距离平面的距离小于该值,就认为是共面的,需要移除该点public static int removeRedundantVertex(Skeleton skeleton, double dThreshold)
skeleton
- 待移除冗余顶点的骨架dThreshold
- 容差,点距离平面的距离小于该值,就认为是共面的,需要移除该点public static boolean splitSkeleton(Model srcModel, Model desModel, SplitParameter splitParameter)
srcModel
- 源模型desModel
- 结果模型splitParameter
- 拆分参数public static GeoModel3D buildTIN(HashMap<Point3D,Double> dicPoints, Boolean bLonLat, Geometry clipRegions)
dicPoints
- 点集bLonLat
- 是否是经纬度clipRegions
- 裁剪范围public static Model convexHull(Skeleton skeleton, Matrix matrix)
skeleton
- 骨架matrix
- 矩阵public static GeoRegion3D computeConcaveHull(Point3Ds pnts, boolean bLonLat, double dConcavity, double dLengthThreshold)
pnts
- 三维点集bLonLat
- 标识pnts是否是经纬度dConcavity
- 凹度,越大越接近凸包dLengthThreshold
- 长度阈值,越大越接近凸包public static ArrayList<GeoModel3D> envelop(Geometry3D geometry3D, EnvelopParameter parameter)
geometry3D
- 三维面几何对象parameter
- 闭合拉伸体参数,支持设置是否为经纬度,拉伸高程等参数public static GeoModel3D tessellate(Geometry3D geometry3D, boolean isLonLat, TessellationParameter param)
geometry3D
- 参数化对象isLonLat
- 是否是经纬度param
- 模型细分参数public static GeoModel3D sectionLoft(ArrayList<Geometry3D> arrSections, boolean isLonLat, SectionLoftParameter param)
arrSections
- 源对象集合isLonLat
- 是否是经纬度param
- 多截面放样参数Copyright © 2021–2024 SuperMap. All rights reserved.