Class InterpolatingMicrosphere.Facet

  • Enclosing class:
    InterpolatingMicrosphere

    private static class InterpolatingMicrosphere.Facet
    extends java.lang.Object
    Microsphere "facet" (surface element).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double[] normal
      Normal vector characterizing a surface element.
    • Constructor Summary

      Constructors 
      Constructor Description
      Facet​(double[] n)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double[] getNormal()
      Return a reference to the vector normal to this facet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • normal

        private final double[] normal
        Normal vector characterizing a surface element.
    • Constructor Detail

      • Facet

        Facet​(double[] n)
        Parameters:
        n - Normal vector characterizing a surface element of the microsphere. No copy is made.
    • Method Detail

      • getNormal

        public double[] getNormal()
        Return a reference to the vector normal to this facet.
        Returns:
        the normal vector.