Method GetOffsetCurvesGivenPlaneNormal
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetOffsetCurvesGivenPlaneNormal(GeoVector3, double)
Gets the polylines at a distance from this one in the plane of a normal, as AutoCAD's
GetOffsetCurvesGivenPlaneNormal: the polyline taken into the plane square to the normal it lies in, offset there
as a DxfPolyline offsets its own, to the right of its way seen from the tip of the normal where the
distance is above nought, and taken back; an arc a corner comes round by is given as the chords that keep within the
point tolerance of it, a 3D polyline having none.
public override IReadOnlyList<DxfCurve> GetOffsetCurvesGivenPlaneNormal(GeoVector3 planeNormal, double offsetDist)
Parameters
planeNormalGeoVector3The normal of the plane, square to the polyline.
offsetDistdoubleThe distance.
Returns
- IReadOnlyList<DxfCurve>
The 3D polylines, of the same look, in no file.
Exceptions
- ArgumentException
Thrown when the normal has no length, or the polyline does not lie in a plane square to it.
- ArgumentOutOfRangeException
Thrown when the distance is not finite.
- InvalidOperationException
Thrown when the polyline has fewer than two vertices drawn.