This document is archived and information here might be outdated.  Recommended version.


ICamera.QueryDistanceToSphereCenter Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IC > ICamera Interface > ICamera.QueryDistanceToSphereCenter Method
ArcGIS Developer Help

ICamera.QueryDistanceToSphereCenter Method

Returns the distance to the given sphere's center.

[Visual Basic .NET]
Public Sub QueryDistanceToSphereCenter ( _
    ByVal pCenter As IPoint, _
    ByVal radius As Double, _
    ByRef distance As Double _
)
[C#]
public void QueryDistanceToSphereCenter (
    IPoint pCenter,
    double radius,
    ref double distance
);
[C++]
HRESULT QueryDistanceToSphereCenter(
  IPoint* pCenter,
  double radius,
  System.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.

See Also

ICamera Interface