本文整理了Java中org.deegree.geometry.Geometry.isDisjoint()
方法的一些代码示例,展示了Geometry.isDisjoint()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Geometry.isDisjoint()
方法的具体详情如下:
包路径:org.deegree.geometry.Geometry
类名称:Geometry
方法名:isDisjoint
[英]Tests whether this geometry is disjoint from the specified geometry. TODO formal explanation (DE9IM)
[中]测试此几何图形是否与指定的几何图形不相交。TODO正式解释(DE9IM)
代码示例来源:origin: deegree/deegree3
@Override
public boolean isDisjoint( Geometry geometry ) {
return getReferencedObject().isDisjoint( geometry );
}
代码示例来源:origin: deegree/deegree3
@Override
public <T> boolean evaluate( T obj, XPathEvaluator<T> xpathEvaluator )
throws FilterEvaluationException {
for ( TypedObjectNode paramValue : propName.evaluate( obj, xpathEvaluator ) ) {
Geometry geom = checkGeometryOrNull( paramValue );
if ( geom != null ) {
Geometry transformedLiteral = getCompatibleGeometry( geom, geometry );
return geom.isDisjoint( transformedLiteral );
}
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!