SqlGeometry.STIntersection 方法 (SqlGeometry)
返回一个对象,它表示一个 SqlGeometry 实例与另一个 SqlGeometry 实例的交点。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STIntersection(
SqlGeometry other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeometry^ STIntersection(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIntersection :
other:SqlGeometry -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STIntersection (
other As SqlGeometry
) As SqlGeometry
参数
other
Type: Microsoft.SqlServer.Types.SqlGeometry要与调用 SqlGeometry 所在的实例进行比较的 STIntersection 实例,进行比较的目的是确定这两个实例是否相交。
返回值
Type: Microsoft.SqlServer.Types.SqlGeometry
一个 SqlGeometry 对象,该对象包含调用 SqlGeometry 实例与指定的 SqlGeometry 相交的点。
备注
如果 SqlGeometry 实例的空间引用 ID (SRID) 不匹配,则 STIntersection 始终返回 Null。
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首