SqlGeometry.STRelate 메서드

SQL Server 2012

Determines whether the calling SqlGeometry is related to the specified SqlGeometry.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STRelate(
	SqlGeometry other,
	string intersectionPatternMatrix
)

매개 변수

other
유형: Microsoft.SqlServer.Types.SqlGeometry
Is another SqlGeometry instance to compare against the instance on which STRelate is invoked.
intersectionPatternMatrix
유형: System.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.

반환 값

유형: System.Data.SqlTypes.SqlBoolean
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.

This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match. This method will throw an ArgumentException if the matrix is not well-formed.

커뮤니티 추가 항목

추가
표시: