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: as GetOffsetCurves(double), the plane being the polyline's own,
and the side the right seen from the tip of the normal given, the left of the polyline's way where it is the
polyline's normal turned over. A DxfArc and a DxfCircle grow their radius whichever way
the normal given points, so that under the normal turned over a polyline of one arc and that arc offset to opposite sides.
public override IReadOnlyList<DxfCurve> GetOffsetCurvesGivenPlaneNormal(GeoVector3 planeNormal, double offsetDist)
Parameters
planeNormalGeoVector3The normal of the plane, along the polyline's Normal either way.
offsetDistdoubleThe distance.
Returns
- IReadOnlyList<DxfCurve>
The polylines, of the same look, in no file.
Exceptions
- ArgumentException
Thrown when the normal is not along the polyline's within the vector tolerance.
- ArgumentOutOfRangeException
Thrown when the distance is not finite.
- InvalidOperationException
Thrown when the polyline has fewer than two vertices.