Returns the distance to the given sphere.
[Visual Basic .NET] Public Sub QueryDistanceToSphere ( _ ByVal pCenter As IPoint, _ ByVal radius As Double, _ ByRef distance As Double _ )
[C#] public void QueryDistanceToSphere ( IPoint pCenter, double radius, ref double distance );
[C++]
HRESULT QueryDistanceToSphere(
IPoint* pCenter,
double radius,
double* distance
);
[C++]Parameters
pCenter [in]pCenter is a parameter of type IPoint
radius [in] radius is a parameter of type double distance [out] distance is a parameter of type double
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.