Method WithLastPoint
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
WithLastPoint(DxfOsnapPointRef)
Gives a copy of the reference that names the reference of the point its perpendicular or tangent was drawn from, as
AutoCAD 2021 writes a PERpendicular or a TANgent snap: the second point of a DIMALIGNED snapped perpendicular to a
line from the start of another is perpendicular.WithLastPoint(start).
public DxfOsnapPointRef WithLastPoint(DxfOsnapPointRef lastPoint)
Parameters
lastPointDxfOsnapPointRefThe reference of the point drawn from; its own last point is left out.
Returns
- DxfOsnapPointRef
The copy.
Exceptions
- ArgumentNullException
Thrown when the reference is null.
WithLastPoint(GeoPoint3)
Gives a copy of the reference whose perpendicular or tangent was drawn from a point tied to nothing, as AutoCAD 2021 writes one: a last point reference of no snap and no object, at the point.
public DxfOsnapPointRef WithLastPoint(GeoPoint3 point)
Parameters
pointGeoPoint3The point drawn from, in world coordinates.
Returns
- DxfOsnapPointRef
The copy.