Table of Contents

Method GetOffsetCurves

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetOffsetCurves(double)

Gets the polylines at a distance from this one in the plane it lies in, as AutoCAD's GetOffsetCurves, as GetOffsetCurvesGivenPlaneNormal(GeoVector3, double) offsets it about the normal of that plane turned to the side its largest part is above nought on, (0, 0, 1) for a polyline on the floor: to the right of its way seen from above, so that a closed polyline running counter-clockwise grows. A closed one that crosses itself in its plane has none, as a DxfPolyline has none.

public override IReadOnlyList<DxfCurve> GetOffsetCurves(double offsetDist)

Parameters

offsetDist double

The distance.

Returns

IReadOnlyList<DxfCurve>

The 3D polylines, of the same look, in no file.

Exceptions

ArgumentOutOfRangeException

Thrown when the distance is not finite.

InvalidOperationException

Thrown when the polyline does not lie in one plane, or has fewer than two vertices drawn.