This document is archived and information here might be outdated. Recommended version. |
Compute distance from fromPt to toPt.
[Visual Basic .NET] Public Function ComputeDistance ( _ ByVal fromPt As IPoint, _ ByVal toPt As IPoint _ ) As Double
[C#] public double ComputeDistance ( IPoint fromPt, IPoint toPt );
This method computes distance between fromPt and toPt and return value in out parameter distance in raster pixels.