OutlineExtractor (Apache Commons Math 3.3 API)

org.apache.commons.math3.geometry.euclidean.threed

## Class OutlineExtractor

- java.lang.Object
- - org.apache.commons.math3.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.

  Since:
    3.0
  Version:
    $Id: OutlineExtractor.java 1555174 2014-01-03 18:06:20Z luc $

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OutlineExtractor(Vector3D u, Vector3D v)` Build an extractor for a specific projection plane.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Vector2D[][]` | `getOutline(PolyhedronsSet polyhedronsSet)` Extract the outline of a polyhedrons set.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### 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 Detail

    - #### 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.

Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.