SqlGeometry.ShortestLineTo 方法 (SqlGeometry)
返回两个 SqlGeometry 实例之间的最短距离。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry ShortestLineTo(
SqlGeometry other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeometry^ ShortestLineTo(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member ShortestLineTo :
other:SqlGeometry -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function ShortestLineTo (
other As SqlGeometry
) As SqlGeometry
参数
other
Type: Microsoft.SqlServer.Types.SqlGeometrySqlGeometry 实例调用 SqlGeometry 实例尝试确定的最短距离。
返回值
Type: Microsoft.SqlServer.Types.SqlGeometry
两个 SqlGeometry 实例之间的最短距离。
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首