Revision 323 2.0/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.lib/org.gvsig.gvsig3d.lib.impl/src/main/java/org/gvsig/gvsig3d/impl/symbology3d/line/impl/SimpleLine3DSymbol.java
SimpleLine3DSymbol.java | ||
---|---|---|
38 | 38 |
public GeoPolygonList3D _geometry; |
39 | 39 |
public GeoMultiPolygon3D _mpolygon; |
40 | 40 |
|
41 |
protected float _height=100; |
|
41 | 42 |
|
42 |
|
|
43 | 43 |
public SimpleLine3DSymbol() |
44 | 44 |
{ |
45 | 45 |
super(); |
... | ... | |
152 | 152 |
poly.addPoint(curve.getCoordinateAt(i, 0),curve.getCoordinateAt(i, 1),curve.getCoordinateAt(i, 2)); |
153 | 153 |
else |
154 | 154 |
for(int i=0;i<numVerts;i++) |
155 |
poly.addPoint(curve.getCoordinateAt(i, 0),curve.getCoordinateAt(i, 1),1.0);
|
|
155 |
poly.addPoint(curve.getCoordinateAt(i, 0),curve.getCoordinateAt(i, 1),_height);
|
|
156 | 156 |
gmpoly.addPolygon(poly); |
157 | 157 |
|
158 | 158 |
return gmpoly; |
... | ... | |
196 | 196 |
} |
197 | 197 |
|
198 | 198 |
} |
199 |
public void setFixedHeight(float height) { |
|
200 |
_height=height; |
|
201 |
|
|
202 |
} |
|
199 | 203 |
|
200 | 204 |
} |
Also available in: Unified diff