Package micycle.pgs.commons
Class AreaMerge
java.lang.Object
micycle.pgs.commons.AreaMerge
The AreaMerge class provides a method to recursive merge smaller faces of a
mesh into their adjacent faces. The procedure continues until there are no
resulting faces with an area smaller than the specified threshold.
- Author:
- Michael Carleton
-
Method Summary
Modifier and TypeMethodDescriptionstatic processing.core.PShape
areaMerge
(processing.core.PShape mesh, double areaThreshold) Recursively merges smaller faces of a mesh into their adjacent faces.
-
Method Details
-
areaMerge
public static processing.core.PShape areaMerge(processing.core.PShape mesh, double areaThreshold) Recursively merges smaller faces of a mesh into their adjacent faces. The procedure continues until there are no resulting faces with an area smaller than the specified threshold.- Parameters:
mesh
-areaThreshold
-- Returns:
-