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 Sub Split( _ 
ByVal p As Double, _ 
ByRef l1 As Line2d, _ 
ByRef l2 As Line2d
)
This language is not supported or no code example is available.
public void Split( 
double p
out Line2d l1
out Line2d l2 
)
This language is not supported or no code example is available.
public:  
void Split( 
double p
Line2d^& l1
Line2d^& l2 
)
This language is not supported or no code example is available.
public function Split( 
p : double
l1 : Line2d
l2 : Line2d 
);
This language is not supported or no code example is available.

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