Edit

Kongsi melalui


DbGeometry.Relate(DbGeometry, String) Method

Definition

Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern.

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

Parameters

other
DbGeometry

The geometry value that should be compared with this geometry value for relation.

matrix
String

A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation.

Returns

true if this geometry value relates to other according to the specified intersection pattern matrix; otherwise false.

Exceptions

other matrix

Applies to