Class IsoSurface


  • public class IsoSurface
    extends Object
    Create isosurfaces
    Author:
    Nicolas Fortin, Université Gustave Eiffel
    • Field Detail

      • NF31_133_ISO

        public static final List<Double> NF31_133_ISO
    • Constructor Detail

      • IsoSurface

        public IsoSurface​(List<Double> isoLevels,
                          int srid)
        Parameters:
        isoLevels - Iso levels in dB. First range start with -Infinity then first level excluded.
    • Method Detail

      • setIsoLabels

        public void setIsoLabels​(List<String> isoLabels)
      • setSmooth

        public void setSmooth​(boolean smooth)
        Parameters:
        smooth - If true smooth generated polygons
      • getSmoothCoefficient

        public double getSmoothCoefficient()
      • isMergeTriangles

        public boolean isMergeTriangles()
        Returns:
        True if triangles will be merged using isolevel attribute
      • setMergeTriangles

        public void setMergeTriangles​(boolean mergeTriangles)
        Parameters:
        mergeTriangles - True if triangles will be merged using isolevel attribute, Z ordinate will be lost
      • setSmoothCoefficient

        public void setSmoothCoefficient​(double smoothCoefficient)
        Parameters:
        smoothCoefficient - Coefficient of polygons smoothing [0-1]
      • setEpsilon

        public void setEpsilon​(double epsilon)
        Parameters:
        epsilon - Merge distance of polygons vertices
      • getEpsilon

        public double getEpsilon()
      • getPointTableField

        public String getPointTableField()
      • setPointTableField

        public void setPointTableField​(String pointTableField)
        Parameters:
        pointTableField - Field with level in dB(A)
      • getPointTable

        public String getPointTable()
      • setPointTable

        public void setPointTable​(String pointTable)
        Point table where primary key is referenced by triangle table PK_1, PK_2, PK_3
        Parameters:
        pointTable - table name
      • getTriangleTable

        public String getTriangleTable()
      • setTriangleTable

        public void setTriangleTable​(String triangleTable)
        Triangle table with fields THE_GEOM, PK_1, PK_2, PK_3, CELL_ID
      • getOutputTable

        public String getOutputTable()
      • setOutputTable

        public void setOutputTable​(String outputTable)
      • createTable

        public void createTable​(Connection connection,
                                String pkField)
                         throws SQLException
        Parameters:
        connection -
        pkField - Field name in point table to join with Triangle table and point table
        Throws:
        SQLException