Line2d.Split (Double, out Line2d, out Line2d) Method

Splits the line segment at a given parameter in the range 0-1. If the parameter is less than zero or larger than 1, one of the lines will have zero length.
public void Split( 
   double p
   out Line2d l1
   out Line2d l2 
)

Parameters

p
double

The parameter to split at.

l1
Line2d

The sub-segment in the range 0-p

l2
Line2d

The sub-segment in the range p-1

.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