summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
c44f3e6)
gitlab #34
Change-Id: I10ab35118eff9a5ef8652f570a4308a1c6d7af8b
class="org.simantics.plant3d.geometry.NozzleGeometryProvider">
<this />
</resource>
class="org.simantics.plant3d.geometry.NozzleGeometryProvider">
<this />
</resource>
+ <resource uri="http://www.simantics.org/Plant3D-0.1/Builtin/FlatNozzleGeometryProvider"
+ class="org.simantics.plant3d.geometry.FlatNozzleGeometryProvider">
+ <this />
+ </resource>
<resource uri="http://www.simantics.org/Plant3D-0.1/Builtin/ReducerGeometryProvider"
class="org.simantics.plant3d.geometry.ReducerGeometryProvider">
<this />
<resource uri="http://www.simantics.org/Plant3D-0.1/Builtin/ReducerGeometryProvider"
class="org.simantics.plant3d.geometry.ReducerGeometryProvider">
<this />
public Collection<TopoDS_Shape> getModel() throws Exception {
if (radius < MathTools.NEAR_ZERO)
return Collections.emptyList();
public Collection<TopoDS_Shape> getModel() throws Exception {
if (radius < MathTools.NEAR_ZERO)
return Collections.emptyList();
TopoDS_Shape shape = OccTriangulator.makeCylinder(new double[] {0.0, 0.0, 0.0}, new double[] { 1.0, 0.0, 0.0 }, radius, length);
return Collections.singletonList(shape);
}
TopoDS_Shape shape = OccTriangulator.makeCylinder(new double[] {0.0, 0.0, 0.0}, new double[] { 1.0, 0.0, 0.0 }, radius, length);
return Collections.singletonList(shape);
}