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


IHit3D.DistanceToRay Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IH > IHit3D Interface > IHit3D.DistanceToRay Property
ArcGIS Developer Help

IHit3D.DistanceToRay Property

The 3D distance between the hit point and the picking ray.

[Visual Basic .NET]
Public Property DistanceToRay As Double
[C#]
public double DistanceToRay {get; set;}
[C++]
HRESULT get_DistanceToRay(
  double pDistanceToRay
);
[C++]
HRESULT put_DistanceToRay(
  System.Double* pDistanceToRay
);
[C++]
Parameters
pDistanceToRay [in]

pDistanceToRay is a parameter of type double pDistanceToRay [out, retval]
pDistanceToRay is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IHit3D Interface