Line2d.Split (IEnumerable<Double>) Method

Splits this line segment to multiple line segemnt using a list of parameters in the range 0-1. The list of parameters does _not_ need to be sorted. Multiple parameters that are the same will output zero length line segments.
public List<Line2d> Split( 
   IEnumerable<double> param 
)

Parameters

param
IEnumerable<double>

List of parameters to split at. Parameters less than 0.0 or larger than 1.0 is ignored.

Return Value

List<Line2d>

A list of new line segments.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition