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


IHit3D.DistanceToRay Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

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(
  double pDistanceToRay
);
[C++]

Parameters pDistanceToRay [out, retval] pDistanceToRay is a parameter of type double pDistanceToRay [in] 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