类 ContourDraw


  • public class ContourDraw
    extends java.lang.Object
    Template
    作者:
    Yaqiang Wang
    • 构造器概要

      构造器 
      构造器 说明
      ContourDraw()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static boolean getMinMaxValueFDiscreteData​(double[][] S, double noData, double[] minmax)
      Get max/min values from a station data
      static java.util.List<wContour.Global.Border> tracingBorders​(double[][] gridData, double[] X, double[] Y, int[][] S1, double undef)
      Tracing contour borders
      static java.lang.Object[] tracingContourLines​(double[][] gridData, double[] cValues, double[] X, double[] Y, double noData, int[][] S1)
      Tracing contour lines with undefined data
      static java.util.List<wContour.Global.Polygon> tracingPolygons​(double[][] gridData, java.util.List<wContour.Global.PolyLine> contourLines, java.util.List<wContour.Global.Border> borders, double[] cValues)
      Tracing shaded polygons with undefined data
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ContourDraw

        public ContourDraw()
    • 方法详细资料

      • tracingBorders

        public static java.util.List<wContour.Global.Border> tracingBorders​(double[][] gridData,
                                                                            double[] X,
                                                                            double[] Y,
                                                                            int[][] S1,
                                                                            double undef)
        Tracing contour borders
        参数:
        gridData - Grid data
        X - X array
        Y - Y array
        S1 - Flat array
        undef - Undefine value
        返回:
        Borders
      • tracingContourLines

        public static java.lang.Object[] tracingContourLines​(double[][] gridData,
                                                             double[] cValues,
                                                             double[] X,
                                                             double[] Y,
                                                             double noData,
                                                             int[][] S1)
        Tracing contour lines with undefined data
        参数:
        gridData - Grid data
        cValues - Values
        X - X array
        Y - Y array
        noData - Undefine data
        S1 - Flag array
        返回:
        Traced contour lines and borders
      • tracingPolygons

        public static java.util.List<wContour.Global.Polygon> tracingPolygons​(double[][] gridData,
                                                                              java.util.List<wContour.Global.PolyLine> contourLines,
                                                                              java.util.List<wContour.Global.Border> borders,
                                                                              double[] cValues)
        Tracing shaded polygons with undefined data
        参数:
        gridData - Grid data
        contourLines - Contour lines
        borders - Border lines
        cValues - Values
        返回:
        Polygon list
      • getMinMaxValueFDiscreteData

        public static boolean getMinMaxValueFDiscreteData​(double[][] S,
                                                          double noData,
                                                          double[] minmax)
        Get max/min values from a station data
        参数:
        S - Discrete data
        noData - Missing value
        minmax - Min/Max data array
        返回:
        If has missing value