DbGeometry.Distance(DbGeometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the distance between the closest points in this DbGeometry value and another DbGeometry value.
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)
Parameters
- other
- DbGeometry
The geometry value for which the distance from this value should be computed.
Returns
A double value that specifies the distance between the two closest points in this geometry value and other
.
Exceptions
other
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.