SqlGeometry.STRelate(SqlGeometry, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the calling SqlGeometry is related to the specified SqlGeometry.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STRelate (Microsoft.SqlServer.Types.SqlGeometry other, string intersectionPatternMatrix);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STRelate : Microsoft.SqlServer.Types.SqlGeometry * string -> System.Data.SqlTypes.SqlBoolean
Public Function STRelate (other As SqlGeometry, intersectionPatternMatrix As String) As SqlBoolean
Parameters
- other
- SqlGeometry
Is another SqlGeometry instance to compare against the instance on which STRelate(SqlGeometry, String) is invoked.
- intersectionPatternMatrix
- String
A string that specifies the intersection model. This string must contain acceptable values for the DE-9IM pattern matrix device between the two SqlGeometry instances.
Returns
Returns true if a SqlGeometry instance is related to another SqlGeometry instance, where the relationship is defined by a Dimensionally Extended 9 Intersection Model (DE-9IM) pattern matrix value; otherwise, returns false.
- Attributes