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


IRay.Origin 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.Origin Property
ArcGIS Developer Help

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