Method ToGeoRay3
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
ToGeoRay3(Ray)
Converts an AutoCAD Ray to a GeometryHelper ray in space.
public static GeoRay3 ToGeoRay3(this Ray ray)
Parameters
rayRayThe AutoCAD Ray to convert.
Returns
Remarks
A Ray from (100, 200, 0) along Y is the ray from (100, 200, 0) along (0, 1, 0).
Exceptions
- ArgumentNullException
Thrown when
rayis null.- ArgumentException
Thrown when the Ray has a unit direction of no length.
ToGeoRay3(IEnumerable<Ray>)
Converts a sequence of AutoCAD Rays to a list of GeometryHelper rays in space.
public static List<GeoRay3> ToGeoRay3(this IEnumerable<Ray> rays)
Parameters
raysIEnumerable<Ray>The sequence of AutoCAD Rays to convert.