Table of Contents

Method DistanceToSurface

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceToSurface(GeoPoint3)

Calculates the distance from the surface of this ball to a point, whichever side of it the point is on.

public double DistanceToSurface(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

double

Remarks

For the ball of radius 50 about the origin, (20, 0, 0) and (80, 0, 0) are both 30 from the surface; the centre is 50.