Click or drag to resize

IPolylineD3DShortenedBy Method

Returns a new, shortened polyline. If the shortened line would have zero or negative length, null is returned.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
IPolylineD3D? ShortenedBy(
	RADouble marginAtStart,
	RADouble marginAtEnd
)

Parameters

marginAtStart  RADouble
The margin at start. Either an absolute value, or relative to the total length of the polyline.
marginAtEnd  RADouble
The margin at end. Either an absolute value, or relative to the total length of the polyline.

Return Value

IPolylineD3D
A new, shortened polyline. If the shortened line would have zero or negative length, null is returned.
See Also