}\r
};\r
\r
- BurningShape xsection = new BurningShape();\r
+ protected BurningShape xsection = new BurningShape();\r
\r
Amount<Length> length = Amount.valueOf(25, SI.MILLIMETER);\r
\r
public Amount<Area> surfaceArea(Amount<Length> regression) {\r
Amount<Area> zero = Amount.valueOf(0, Area.UNIT);\r
\r
- if (regression.isGreaterThan(webThickness))\r
+ if (regression.isGreaterThan(webThickness()))\r
return zero;\r
\r
Amount<Length> rLen = length;\r
Shape outside = new Rectangle2D.Double(0,0,15,70);\r
shape.add( outside );\r
shape.inhibit( outside );\r
- shape.subtract( new Rectangle2D.Double(0,50,5,70));\r
- //shape.subtract(new Rectangle2D.Double(0, -10, 15, 10));\r
+ shape.subtract( new Rectangle2D.Double(0,0,5,70));\r
+ shape.subtract(new Rectangle2D.Double(0, -10, 15, 10));\r
shape.subtract(new Rectangle2D.Double(0, 70, 15, 10));\r
} catch ( Exception e ){\r
throw new Error(e);\r
}\r
};\r
\r
+\r
+ \r
public enum Quality {\r
High()\r
{{\r
\r
Quality quality = Quality.Low;\r
\r
- BurningShape shape = new BurningShape();\r
+ protected BurningShape shape = new BurningShape();\r
\r
Amount<Length> web = null;\r
\r