Method GetOffsetCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetOffsetCurves(double)
Gets the spline at a distance from this one in its plane, as AutoCAD's GetOffsetCurves: to the right of its
direction seen from the tip of its normal where the distance is above nought, outwards for a spline running
counter-clockwise, as GetOffsetCurvesGivenPlaneNormal(GeoVector3, double) offsets it about that normal. The normal is the
spline's own (210) where it lies square to it, else that of the plane it lies in.
public override IReadOnlyList<DxfCurve> GetOffsetCurves(double offsetDist)
Parameters
offsetDistdoubleThe distance.
Returns
- IReadOnlyList<DxfCurve>
The one spline, of the same look, in no file.
Exceptions
- ArgumentOutOfRangeException
Thrown when the distance is not finite.
- InvalidOperationException
Thrown when the spline does not lie in one plane, or has no data that make a spline.