Class MeshSubdivision

java.lang.Object
mgui.geometry.mesh.MeshSubdivision

public class MeshSubdivision
extends java.lang.Object
Contains static methods for all mesh subdivision algorithms.
Version:
1.0
Author:
Andrew Reid
  • Constructor Summary

    Constructors
    Constructor Description
    MeshSubdivision()  
  • Method Summary

    Modifier and Type Method Description
    static boolean[] subdivideButterflyScheme​(Mesh3D mesh, double w, boolean[] constraints)
    Subdivide mesh once, using the "Butterfly Scheme" discussed by Dyn et al (1990), which will interpolate between existing nodes without altering these nodes.
    static void subdivideButterflyScheme​(Mesh3DInt mesh, double w)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MeshSubdivision

      public MeshSubdivision()
  • Method Details

    • subdivideButterflyScheme

      public static void subdivideButterflyScheme​(Mesh3DInt mesh, double w)
    • subdivideButterflyScheme

      public static boolean[] subdivideButterflyScheme​(Mesh3D mesh, double w, boolean[] constraints)
      Subdivide mesh once, using the "Butterfly Scheme" discussed by Dyn et al (1990), which will interpolate between existing nodes without altering these nodes. is used to determine the influence of neighbouring nodes upon the position of the newly inserted node. A tension of zero results in a purely linear interpolation, i.e., no influence outside the two edge nodes.
      Parameters:
      mesh - Mesh3D object to be subdivided
      w - degree to which interpolation is influenced by neighbouring nodes