Class AreaMerge

java.lang.Object
micycle.pgs.commons.AreaMerge

public class AreaMerge extends Object
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 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: