|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.utils.shapes.geometry.CubeFactory
public final class CubeFactory
An utility class to create cube geometry.
Method Summary | |
---|---|
static Geometry |
createCube(Canvas canvas)
Return a geometry representing a simple cube. |
static Geometry |
createCube(Canvas canvas,
int density)
Return a geometry representing a cube. |
static Geometry |
createCube(Canvas canvas,
int density,
boolean wired)
Return a geometry representing a cube. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Geometry createCube(Canvas canvas)
canvas
- the canvas where the buffers are created.
public static Geometry createCube(Canvas canvas, int density)
canvas
- the canvas where the geometry buffers are created.density
- the square density on cube faces.
public static Geometry createCube(Canvas canvas, int density, boolean wired)
canvas
- the canvas where the geometry buffers are created.density
- the square density on cube faces.wired
- true if the wire is visible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |