Метод SqlGeometry.STIntersection
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 Function STIntersection ( _
other As SqlGeometry _
) As SqlGeometry
'Применение
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlGeometry
returnValue = instance.STIntersection(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STIntersection(
SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ STIntersection(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIntersection :
other:SqlGeometry -> SqlGeometry
public function STIntersection(
other : SqlGeometry
) : 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.