ArcObjects Library Reference (Geometry)  

IRay.Vector Property

The direction vector of the ray.

[Visual Basic .NET]
Public Property Vector As IVector3D
[C#]
public IVector3D Vector {get; set;}
[C++]
HRESULT get_Vector(
  IVector3D** directionVector
);
[C++]
HRESULT put_Vector(
  IVector3D* directionVector
);
[C++]

Parameters

directionVector [out, retval]

  directionVector is a parameter of type IVector3D

directionVector

  directionVector is a parameter of type IVector3D

Product Availability

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

Description

Returns and sets 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 Vector Example

See Also

IRay Interface