Method GetOffsetCurvesGivenPlaneNormal
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetOffsetCurvesGivenPlaneNormal(GeoVector3, double)
Gets the line at a distance from this one in the plane of a normal, as AutoCAD's
GetOffsetCurvesGivenPlaneNormal: to the left of its direction seen from the tip of the normal where the
distance is above nought, as GetOffsetCurves(double) says, so to the right about the normal turned over.
public override IReadOnlyList<DxfCurve> GetOffsetCurvesGivenPlaneNormal(GeoVector3 planeNormal, double offsetDist)
Parameters
planeNormalGeoVector3The normal of the plane; only its part square to the line counts.
offsetDistdoubleThe distance.
Returns
- IReadOnlyList<DxfCurve>
The one line, of the same look, in no file.
Exceptions
- ArgumentOutOfRangeException
Thrown when the distance is not a finite number.
- ArgumentException
Thrown when the normal has no length or runs along the line.
- InvalidOperationException
Thrown when the line has no length to give it a direction.