本文整理了Java中org.deegree.geometry.Geometry.getConvexHull()
方法的一些代码示例,展示了Geometry.getConvexHull()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Geometry.getConvexHull()
方法的具体详情如下:
包路径:org.deegree.geometry.Geometry
类名称:Geometry
方法名:getConvexHull
[英]Returns the convex hull of the geometry.
[中]返回几何体的凸面外壳。
代码示例来源:origin: deegree/deegree3
@Override
public Geometry getConvexHull() {
return getReferencedObject().getConvexHull();
}
代码示例来源:origin: deegree/deegree3
@Override
public void process( ProcessletInputs in, ProcessletOutputs out, ProcessletExecutionInfo info )
throws ProcessletException {
ComplexInput gmlInput = (ComplexInput) in.getParameter( "GMLInput" );
Geometry geometry = readGeometry( gmlInput );
Geometry hulledGeometry = geometry.getConvexHull();
ComplexOutput hullOutput = (ComplexOutput) out.getParameter( "ConvexHull" );
writeGeometry( hullOutput, hulledGeometry );
}
内容来源于网络,如有侵权,请联系作者删除!