Click or drag to resize

SweepPath3DShortenedBy Method

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

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public 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.

Implements

IPolylineD3DShortenedBy(RADouble, RADouble)
See Also