Method GetOffsetCurvesGivenPlaneNormal
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetOffsetCurvesGivenPlaneNormal(GeoVector3, double)
Gets the xline 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 a DxfLine is offset, AutoCAD 2021's side for a line.
public override IReadOnlyList<DxfCurve> GetOffsetCurvesGivenPlaneNormal(GeoVector3 planeNormal, double offsetDist)
Parameters
planeNormalGeoVector3The normal of the plane; only its part square to the xline counts.
offsetDistdoubleThe distance.
Returns
- IReadOnlyList<DxfCurve>
The one xline, of the same look, in no file.
Exceptions
- ArgumentException
Thrown when the normal has no length or runs along the xline.
- ArgumentOutOfRangeException
Thrown when the distance is not a finite number.