Method GetOffsetCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetOffsetCurves(double)
Gets the curve at a distance from the ellipse, as AutoCAD's GetOffsetCurves: not an ellipse, so a
DxfSpline, as AutoCAD gives one, of the ellipse's look in no file: its Spline offset as
GetOffsetCurvesGivenPlaneNormal(GeoVector3, double) offsets one about the ellipse's normal, outwards where the distance
is above nought, as a circle's radius grows. The curve 1 out from the ellipse of radii 10 and 5 keeps 1 from it within
the 1E-3 the spline is fitted to.
public override IReadOnlyList<DxfCurve> GetOffsetCurves(double offsetDist)
Parameters
offsetDistdoubleThe distance: outwards above nought, inwards below.
Returns
- IReadOnlyList<DxfCurve>
The one spline.
Exceptions
- ArgumentOutOfRangeException
Thrown when the distance is not finite.