PolygonSimplification.Simplify Method

Simple simplification that can result in a result that overlaps the input poly. The input poly must only contain lines
public static Poly2d Simplify( 
   Poly2d pl
   int cnt
   double amount = 0.0 
)

Parameters

pl
Poly2d

The poly to simplify only lines

cnt
int

Number of edges in the simplified poly

amount
double

Return Value

Poly2d

A new simplified poly witn cnt edges

.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