Class OutlineExtractor

java.lang.Object
org.hipparchus.geometry.euclidean.threed.OutlineExtractor

public class OutlineExtractor extends Object
Extractor for polyhedrons sets outlines.

This class extracts the 2D outlines from {polyhedrons sets in a specified projection plane.

  • Constructor Details

    • OutlineExtractor

      public OutlineExtractor(Vector3D u, Vector3D v)
      Build an extractor for a specific projection plane.
      Parameters:
      u - abscissa axis of the projection point
      v - ordinate axis of the projection point
  • Method Details

    • getOutline

      public Vector2D[][] getOutline(PolyhedronsSet polyhedronsSet)
      Extract the outline of a polyhedrons set.
      Parameters:
      polyhedronsSet - polyhedrons set whose outline must be extracted
      Returns:
      an outline, as an array of loops.