DbGeometry.Distance(DbGeometry) 메서드

정의

이 DbGeometry 값에서 가장 가까운 지점과 다른 DbGeometry 값 사이의 거리를 계산합니다.

public:
 Nullable<double> Distance(System::Data::Spatial::DbGeometry ^ other);
public double? Distance(System.Data.Spatial.DbGeometry other);
member this.Distance : System.Data.Spatial.DbGeometry -> Nullable<double>
Public Function Distance (other As DbGeometry) As Nullable(Of Double)

매개 변수

other
DbGeometry

이 값과의 거리를 계산해야 하는 기하 도형 값입니다.

반품

이 기하 도형 값에서 가장 가까운 두 점 사이의 거리를 지정하는 double 값입니다 other.

예외

적용 대상