StraightLineAsPolylineD3DShortenedBy Method |
Returns a new, shortened polyline. If the shortened line would have zero or negative length, null is returned.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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