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

Splits this poly at a given parameter. If this poly is closed, a single result with a poly open at that point is computed, otherwise two result polygons is computed.
Public Function Split( _ 
ByVal param As Double, _ 
ByRef res1 As Poly2d, _ 
ByRef res2 As Poly2d
) As Integer
This language is not supported or no code example is available.
public int Split( 
double param
out Poly2d res1
out Poly2d res2 
)
This language is not supported or no code example is available.
public:  
int Split( 
double param
Poly2d^& res1
Poly2d^& res2 
)
This language is not supported or no code example is available.
public function Split( 
param : double
res1 : Poly2d
res2 : Poly2d 
) : int;
This language is not supported or no code example is available.

Parameters

param
double

The parameter to split at in the range 0-1.

res1
Poly2d

The sub-polygon from parameter 0.0 to the given parmeter.

res2
Poly2d

The sub polygon from the given parameter to parameter 1.0 or null if a closed polygon was splitted.

Return Value

int

The number of polygons computed (1 or 2).

.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