Class Decomposition

java.lang.Object
org.jzy3d.plot3d.rendering.scene.Decomposition

public class Decomposition extends Object
  • Method Details

    • getPolygonDecomposition

      public static List<Polygon> getPolygonDecomposition(List<? extends Drawable> drawables)
      Decompose all input drawable that are of type Composite into a list of non decomposable Polygons. Any Drawable not of Polygon type will be ignored.
    • getDecomposition

      public static List<Drawable> getDecomposition(List<? extends Drawable> drawables)
      Decompose all input drawable that are of type Composite into a list of non decomposable Drawables. Note that
      • A Drawable.isDisplayed()=false will be skipped and neither decomposed, neither in output list
      • A
        invalid @link
        Drawable#isFaceDisplayed()
        =false will be kept but not decomposed as object with wireframe only or boundary only do not need a decomposition for rendering properly with alpha.
    • getDecomposition

      public static List<Drawable> getDecomposition(Composite input)
      Recursively expand all monotype Drawables from the given Composite.
    • getPolygonDecomposition

      public static List<Polygon> getPolygonDecomposition(Composite input)
      Recursively expand all monotype Polygons from the given Composite. Any Drawable not of Polygon type will be ignored.