Method GetOffsetCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetOffsetCurves(double)
Gets the polylines at a distance from this one in its plane, as AutoCAD's GetOffsetCurves, as a
DxfPolyline offsets its own: to the right of its way seen from the tip of its Normal
where the distance is above nought, arcs kept and corners run on until the segments meet. A fitted polyline is
offset along the vertices it is drawn through, and gives straight polylines. A closed one that crosses itself has
none, as a DxfPolyline has none.
public override IReadOnlyList<DxfCurve> GetOffsetCurves(double offsetDist)
Parameters
offsetDistdoubleThe distance.
Returns
- IReadOnlyList<DxfCurve>
The polylines of the plane, of the same look, in no file.
Exceptions
- ArgumentOutOfRangeException
Thrown when the distance is not finite.
- InvalidOperationException
Thrown when the polyline has fewer than two vertices drawn.