SimplifyToolsReduceByArea Method |
Simplify the polygon by removing all points that in pairs of 3 have an area less than the tolerance.
Pass in 0 as tolerance, and it will only remove collinear points.
Namespace: Internal.Physics2D.Common.PolygonManipulationAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic static Vertices ReduceByArea(
Vertices vertices,
float areaTolerance
)
Parameters
- vertices Vertices
- areaTolerance Single
Return Value
Vertices
See Also