Interface IRay2
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
Envelope
IEnvelope Envelope { get; }
Property Value
GeometryType
esriGeometryType GeometryType { get; }
Property Value
IsEmpty
bool IsEmpty { get; }
Property Value
Origin
IPoint Origin { get; set; }
Property Value
SpatialReference
ISpatialReference SpatialReference { get; set; }
Property Value
Vector
IVector3D Vector { get; set; }
Property Value
Methods
GeoNormalize()
void GeoNormalize()
GeoNormalizeFromLongitude(double)
void GeoNormalizeFromLongitude(double Longitude)
Parameters
Longitudedouble
GetEnumIntersect(IGeometry)
IEnumIntersection GetEnumIntersect(IGeometry targetGeometry)
Parameters
targetGeometryIGeometry
Returns
GetPointAtDistance(double)
IPoint GetPointAtDistance(double distance)
Parameters
distancedouble
Returns
Intersect(IGeometry, IPointCollection)
void Intersect(IGeometry targetGeometry, IPointCollection intersectionPoints)
Parameters
targetGeometryIGeometryintersectionPointsIPointCollection
Intersects(IGeometry)
bool Intersects(IGeometry targetGeometry)
Parameters
targetGeometryIGeometry
Returns
Project(ISpatialReference)
void Project(ISpatialReference newReferenceSystem)
Parameters
newReferenceSystemISpatialReference
QueryEnvelope(IEnvelope)
void QueryEnvelope(IEnvelope outEnvelope)
Parameters
outEnvelopeIEnvelope
QueryFirstIntersection(IGeometry, IPoint)
void QueryFirstIntersection(IGeometry targetGeometry, IPoint intersectionPoint)
Parameters
QueryOrigin(IPoint)
void QueryOrigin(IPoint vectorOrigin)
Parameters
vectorOriginIPoint
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
QueryPointAtDistance(double, IPoint)
void QueryPointAtDistance(double distance, IPoint Point)
Parameters
QueryVector(IVector3D)
void QueryVector(IVector3D directionVector)
Parameters
directionVectorIVector3D
SetEmpty()
void SetEmpty()
SnapToSpatialReference()
void SnapToSpatialReference()