Table of Contents

Class RayConvert

Namespace
GeometryHelper.CadConvert
Assembly
GeometryHelper.CadConvert.dll

Converts rays, the AutoCAD Ray entities, between AutoCAD and GeometryHelper.

public static class RayConvert
Inheritance
RayConvert
Inherited Members

Remarks

An AutoCAD Autodesk.AutoCAD.DatabaseServices.Ray is held as a base point and a unit direction, and runs for ever from the base point. A GeoRay3 holds the same two things, so the reading keeps both; the direction is made unit length again on the way in, so a round trip can differ in the last digit of it. The ray is in space: a ray in the plane is ProjectToRay2(GeoCoordinateSystem3) of it.

Methods

ToAcadRay(GeoRay3)

Converts a GeometryHelper ray in space to an AutoCAD Ray.

ToAcadRay(IEnumerable<GeoRay3>)

Converts a sequence of GeometryHelper rays in space to a list of AutoCAD Rays.

ToGeoRay3(Ray)

Converts an AutoCAD Ray to a GeometryHelper ray in space.

ToGeoRay3(IEnumerable<Ray>)

Converts a sequence of AutoCAD Rays to a list of GeometryHelper rays in space.