PolygonSimplification.Calculate (Region2d, Int32, Double, Boolean) Method
Parameters
- r
- Region2d
Input region, flattened
- cnt
- int
Min number of edges in result foreach poly
- amount
- double
Max amount of area reduction. ex. 0.1 means 10% area difference. If 0 then not used.
- onlyreflex
- bool
True if only reflex vertices (inner corners) should be considered
Return Value
Region2dA reduced polygon