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


IRay.Origin Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IRay.Origin Property

The origin point of the ray.

[Visual Basic .NET]
Public Property Origin As IPoint
[C#]
public IPoint Origin {get; set;}
[C++]
HRESULT get_Origin(
  IPoint** vectorOrigin
);
[C++]
HRESULT put_Origin(
  IPoint* vectorOrigin
);
[C++]

Parameters vectorOrigin [out, retval]
vectorOrigin is a parameter of type IPoint vectorOrigin
vectorOrigin is a parameter of type IPoint

Product Availability

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

Description

Returns and sets the Origin of the Ray.  The Origin is the starting Point from which the Ray infinitely extends in the direction of its vector.

Remarks

 

Ray Origin Example

See Also

IRay Interface