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


IRay.Vector Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRay Interface > IRay.Vector Property
ArcGIS Developer Help

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