DbGeometry.Relate(DbGeometry, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据给定的维度扩展 Nine-Intersection 模型(DE-9IM)交集模式,确定此 DbGeometry 值在空间上是否与指定的 DbGeometry 参数相关。
public:
bool Relate(System::Data::Spatial::DbGeometry ^ other, System::String ^ matrix);
public bool Relate(System.Data.Spatial.DbGeometry other, string matrix);
member this.Relate : System.Data.Spatial.DbGeometry * string -> bool
Public Function Relate (other As DbGeometry, matrix As String) As Boolean
参数
- other
- DbGeometry
应与此几何图形值进行比较的几何图形值。
- matrix
- String
一个字符串,其中包含定义关系的 (DE-9IM) 交集模式的文本表示形式。
返回
true 如果此几何图形值与指定的交集模式矩阵相关 other ,则为 ;否则为 false。
例外
other
matrix