Class IsoSurface
- java.lang.Object
-
- org.noise_planet.noisemodelling.jdbc.utils.IsoSurface
-
public class IsoSurface extends Object
Create isosurfaces- Author:
- Nicolas Fortin, Université Gustave Eiffel
-
-
Field Summary
Fields Modifier and Type Field Description static List<Double>
NF31_133_ISO
-
Constructor Summary
Constructors Constructor Description IsoSurface(List<Double> isoLevels, int srid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createTable(Connection connection)
void
createTable(Connection connection, String pkField)
double
getEpsilon()
String
getOutputTable()
String
getPointTable()
String
getPointTableField()
double
getSmoothCoefficient()
String
getTriangleTable()
boolean
isMergeTriangles()
void
setEpsilon(double epsilon)
void
setIsoLabels(List<String> isoLabels)
void
setMergeTriangles(boolean mergeTriangles)
void
setOutputTable(String outputTable)
void
setPointTable(String pointTable)
Point table where primary key is referenced by triangle table PK_1, PK_2, PK_3void
setPointTableField(String pointTableField)
void
setSmooth(boolean smooth)
void
setSmoothCoefficient(double smoothCoefficient)
void
setTriangleTable(String triangleTable)
Triangle table with fields THE_GEOM, PK_1, PK_2, PK_3, CELL_ID
-
-
-
Method Detail
-
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) throws SQLException
- Parameters:
connection
-- Throws:
SQLException
-
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
-
-