Class SphericalConformalMap

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

    public class SphericalConformalMap
    extends AlgorithmBase
    • Field Detail

      • fileName

        private java.lang.String fileName
      • fileDir

        private java.lang.String fileDir
    • Constructor Detail

      • SphericalConformalMap

        public SphericalConformalMap()
      • SphericalConformalMap

        public SphericalConformalMap​(java.lang.String fileName,
                                     java.lang.String fileDir)
    • Method Detail

      • testRoutine

        public void testRoutine()
      • runAlgorithm

        public void runAlgorithm()
        Description copied from class: AlgorithmBase
        Actually runs the algorithm. Implemented by inheriting algorithms.
        Specified by:
        runAlgorithm in class AlgorithmBase
      • spherical_conformal_map

        private double[][] spherical_conformal_map​(double[][] v,
                                                   int[][] f)
      • linear_beltrami_solver

        double[][] linear_beltrami_solver​(double[][] v,
                                          int[][] f,
                                          SuperLU.doublecomplex[] mu,
                                          int[] landmark,
                                          double[][] target)
      • beltrami_coefficient

        SuperLU.doublecomplex[] beltrami_coefficient​(double[][] v,
                                                     int[][] f,
                                                     double[][] map)
      • spherical_tutte_map

        double[][] spherical_tutte_map​(int[][] f,
                                       int bigtri)
      • face_area

        double[] face_area​(int[][] f,
                           double[][] v)
      • area_distortion

        double[] area_distortion​(double[][] vorig,
                                 int[][] f,
                                 double[][] maporig)
      • stereographic

        double[][] stereographic​(double[][] u)
      • mobius_area_correction

        double[][] mobius_area_correction​(double[] x,
                                          double[][] v,
                                          int[][] f,
                                          double[][] map)
      • finitemean

        double finitemean​(double[] A)
      • angle_distortion

        double[] angle_distortion​(double[][] vorig,
                                  int[][] f,
                                  double[][] maporig)