Interface IRay2

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to 3D Ray properties and methods. A ray has one endpoint (its origin) and continues infinitely in one direction.

[Guid("0C968EEA-5DE9-45DB-B885-531A04738122")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRay2 : IRay, IGeometry

Properties

Dimension

esriGeometryDimension Dimension { get; }

Property Value

esriGeometryDimension

Envelope

IEnvelope Envelope { get; }

Property Value

IEnvelope

GeometryType

esriGeometryType GeometryType { get; }

Property Value

esriGeometryType

IsEmpty

bool IsEmpty { get; }

Property Value

bool

Origin

IPoint Origin { get; set; }

Property Value

IPoint

SpatialReference

ISpatialReference SpatialReference { get; set; }

Property Value

ISpatialReference

Vector

IVector3D Vector { get; set; }

Property Value

IVector3D

Methods

GeoNormalize()

void GeoNormalize()

GeoNormalizeFromLongitude(double)

void GeoNormalizeFromLongitude(double Longitude)

Parameters

Longitude double

GetEnumIntersect(IGeometry)

IEnumIntersection GetEnumIntersect(IGeometry targetGeometry)

Parameters

targetGeometry IGeometry

Returns

IEnumIntersection

GetPointAtDistance(double)

IPoint GetPointAtDistance(double distance)

Parameters

distance double

Returns

IPoint

Intersect(IGeometry, IPointCollection)

void Intersect(IGeometry targetGeometry, IPointCollection intersectionPoints)

Parameters

targetGeometry IGeometry
intersectionPoints IPointCollection

Intersects(IGeometry)

bool Intersects(IGeometry targetGeometry)

Parameters

targetGeometry IGeometry

Returns

bool

Project(ISpatialReference)

void Project(ISpatialReference newReferenceSystem)

Parameters

newReferenceSystem ISpatialReference

QueryEnvelope(IEnvelope)

void QueryEnvelope(IEnvelope outEnvelope)

Parameters

outEnvelope IEnvelope

QueryFirstIntersection(IGeometry, IPoint)

void QueryFirstIntersection(IGeometry targetGeometry, IPoint intersectionPoint)

Parameters

targetGeometry IGeometry
intersectionPoint IPoint

QueryOrigin(IPoint)

void QueryOrigin(IPoint vectorOrigin)

Parameters

vectorOrigin IPoint

QueryPlaneIntersection(ref WKSPointZ, double, IPoint)

Returns the point of intersection between the ray and the target plane. The point is set empty if there is no intersection.

void QueryPlaneIntersection(ref WKSPointZ pPlaneNormal, double D, IPoint pPoint)

Parameters

pPlaneNormal WKSPointZ
D double
pPoint IPoint

QueryPointAtDistance(double, IPoint)

void QueryPointAtDistance(double distance, IPoint Point)

Parameters

distance double
Point IPoint

QueryVector(IVector3D)

void QueryVector(IVector3D directionVector)

Parameters

directionVector IVector3D

SetEmpty()

void SetEmpty()

SnapToSpatialReference()

void SnapToSpatialReference()