MCPcopy Create free account
hub / github.com/Singular/Singular / getImpsurfCode

Method getImpsurfCode

Singular/LIB/surfex/Equation.java:104–112  ·  view source on GitHub ↗
(String strPoly, double[] scale)

Source from the content-addressed store, hash-verified

102 // Ende Variablen
103
104 public String getImpsurfCode(String strPoly, double[] scale) {
105 String strRichMor = "DEF=" + URLEncoder.encode(strPoly + "=0;")
106 + "&XMIN=-" + (9.0 / scale[0]) + "&XMAX=" + (9.3 / scale[0])
107 + "&YMIN=-" + (9.1 / scale[1]) + "&YMAX=" + (9.1 / scale[1])
108 + "&ZMIN=-" + (9.2 / scale[2]) + "&ZMAX=" + (9.3 / scale[2])
109 + "" + "&COARSE=8&FINE=64&FACE=512&EDGE=4096"
110 + "&TIMEOUT=1000&VERSION=3";
111 return (strRichMor);
112 }
113
114 public boolean triangulate(String strPoly, double[] scale,
115 String eindeutigeEqnNr) {

Callers 1

triangulateMethod · 0.95

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected