SqlGeometry.STIntersection 메서드

SQL Server 2012

Returns an object that represents the points where a SqlGeometry instance intersects another SqlGeometry instance.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STIntersection(
	SqlGeometry other

매개 변수

유형: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare with the instance on which STIntersection is being invoked, to determine where they intersect.

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object containing the points where the calling SqlGeometry instance intersects the specified SqlGeometry.

STIntersection always returns null if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.