ST_Disjoint は、2 つのジオメトリを入力として、2 つのジオメトリのインターセクトが空のセットを生成する場合は 1 (Oracle および SQLite) または t (PostgreSQL)、それ以外の場合は 0 (Oracle および SQLite) または f (PostgreSQL) を返します。 構
ST_Disjoint确定两个 GEOMETRY 对象是否未相交也未接触。如果ST_Disjoint 针对一对 GEOMETRY 对象返回 TRUE,则 ST_Intersects 将针对这两个相同的对象返回 FALSE。不支持顶点或边界位于国际日期变更线 (IDL) 或南、北极的 GEOGRAPHY 多边形。行为类型不可变 ...
O SQL a seguir verifica se o primeiro polígono é separado do segundo polígono. SELECTST_Disjoint(ST_GeomFromText('POLYGON((0 0,10 0,10 10,0 10,0 0),(2 2,2 5,5 5,5 2,2 2))'), ST_Point(4,4)); st_disjoint --- true Esta página foi útil? Sim Não...
ST_Disjoint(<geo2>) 参数 名称类型说明 geo2 ST_Geometry 要与<geometry-expression> 进行比较的另一个几何值。 返回值 BIT 如果<geometry-expression> 在空间上与 <geo2> 无交集,则返回 1,否则返回 0。 注释 测试某几何值是否在空间上与另一个几何值无交集。如果两个几何的交集为空,则二者之间无交集。
boolST_Disjoint(raster rast1, raster rast2); boolST_Disjoint(raster rast, geometry geom); boolST_Disjoint(geometry geom,raster rast); 参数 参数名称 描述 rast1 raster对象1。 rast2 raster对象2。 rast raster对象。 geom geometry对象。 示例 SELECT a.id FROM tbl_a a, tbl_b b WHERE ST_Disjo...
st_disjoint --- true (1 row) False In this example,ST_Disjointreturnsfalsebecause: Many Points in the set that comprises PolygonAare also members of the set of points that make up PolygonB. SELECTst_disjoint(st_geomfromtext('SRID=4326;POLYGON((-87.906471 43.038902, -95.992775 36.153980, ...
このトピックでは、ST_Disjoint関数について説明します。 この関数は、2つのジオメトリオブジェクトが互いに接触しないかどうかを確認します。 ジオメトリオブジェクトが互いに接触しない場合、この関数はTrueを返します。 それ以外の場合、この関数はFalseを返します。 構文 ブールST_Disjoint...
.STDisjoint ( other_geometry ) 参数 other_geometry 将与在其上调用 STDisjoint() 的实例进行比较的另一个 geometry 实例。 返回类型 SQL Server 返回类型:bit CLR 返回类型:SqlBoolean 注释 如果两个 geometry 实例的点集交集是空的,则这两个实例不相联。 如果geometry 实例的空间引用 ID (SRID) 不匹配,则...
STDifference STDimension STDisjoint STDistance STEndpoint STEnvelope STEquals STExteriorRing STGeometryN STGeometryType STInteriorRingN STIntersection STIntersects STIsClosed STIsEmpty STIsRing STIsSimple STIsValid STLength STNumCurves STNumGeometries STNumInteriorRing STNumPoints STOverlaps STPointN STPoin...
下列範例使用 STDisjoint() 來測試兩個 geography 例項在空間上是否分離。複製 DECLARE @g geography; DECLARE @h geography; SET @g = geography::STGeomFromText('LINESTRING(-122.360 47.656, -122.343 47.656)', 4326); SET @h = geography::STGeomFromText('POINT(-122.34900 47.65100)', 4326); SELECT ...