SimplifyToolsCollinearSimplify Method |
Removes all collinear points on the polygon.
Namespace: Internal.Physics2D.Common.PolygonManipulationAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic static Vertices CollinearSimplify(
Vertices vertices,
float collinearityTolerance = 0f
)
Parameters
- vertices Vertices
- The polygon that needs simplification.
- collinearityTolerance Single (Optional)
- The collinearity tolerance.
Return Value
VerticesA simplified polygon.
See Also