mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
bugfix for tesspolygon outline plot
This commit is contained in:
parent
3c00ec89b3
commit
796992bae6
@ -2269,15 +2269,15 @@ public class Plot3DGL extends Plot implements GLEventListener {
|
||||
|
||||
if (tessPolygon.hasHole()) {
|
||||
List<PointZ> newPList;
|
||||
gl.glBegin(GL2.GL_LINE_STRIP);
|
||||
for (int h = 0; h < tessPolygon.getHoleLines().size(); h++) {
|
||||
gl.glBegin(GL2.GL_LINE_STRIP);
|
||||
newPList = (List<PointZ>) tessPolygon.getHoleLines().get(h);
|
||||
for (int j = 0; j < newPList.size(); j++) {
|
||||
p = newPList.get(j);
|
||||
gl.glVertex3f(transform.transform_x((float) p.X), transform.transform_y((float) p.Y), transform.transform_z((float) p.Z));
|
||||
}
|
||||
gl.glEnd();
|
||||
}
|
||||
gl.glEnd();
|
||||
}
|
||||
gl.glDisable(GL2.GL_POLYGON_OFFSET_FILL);
|
||||
}
|
||||
|
||||
@ -21,10 +21,12 @@
|
||||
<OpenedFiles>
|
||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\toolbox\miml\cluster\dbscan_1.py"/>
|
||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\toolbox\miml\deep_learning\convolution\mnist_cnn.py"/>
|
||||
<OpenedFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\jogl\layer_ydir.py"/>
|
||||
</OpenedFiles>
|
||||
<RecentFiles>
|
||||
<RecentFile File="D:\Working\MIScript\Jython\mis\toolbox\miml\cluster\dbscan_1.py"/>
|
||||
<RecentFile File="D:\Working\MIScript\Jython\mis\toolbox\miml\deep_learning\convolution\mnist_cnn.py"/>
|
||||
<RecentFile File="D:\Working\MIScript\Jython\mis\plot_types\3d\jogl\layer_ydir.py"/>
|
||||
</RecentFiles>
|
||||
</File>
|
||||
<Font>
|
||||
@ -32,5 +34,5 @@
|
||||
</Font>
|
||||
<LookFeel DockWindowDecorated="true" LafDecorated="true" Name="FlatDarkLaf"/>
|
||||
<Figure DoubleBuffering="true"/>
|
||||
<Startup MainFormLocation="-7,0" MainFormSize="1406,836"/>
|
||||
<Startup MainFormLocation="-7,0" MainFormSize="1327,740"/>
|
||||
</MeteoInfo>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user