ArcObjects Library Reference (Geometry)  

IRay.QueryVector Method

Sets a vector equal to a unit vector with the same direction as the ray.

[Visual Basic .NET]
Public Sub QueryVector ( _
    ByVal directionVector As IVector3D _
)
[C#]
public void QueryVector (
    IVector3D directionVector
);
[C++]
HRESULT QueryVector(
  IVector3D* directionVector
);
[C++]

Parameters

directionVector

  directionVector is a parameter of type IVector3D

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the Vector3D of the Ray.  The Vector3D determines the direction the Ray extends from its Origin.  The Vector of a Ray is always Normalized to a unit vector.

Remarks

 

Ray QueryVector Example

See Also

IRay Interface