jhplot.v3d
Class Object3d
- java.lang.Object
-
- jhplot.v3d.Position
-
- jhplot.v3d.Object3d
-
-
Constructor Summary
Constructors Constructor and Description Object3d(Model3d md, int nvert, int nface)
Object3d(java.lang.String name, Model3d md, int nvert, int nface)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
addFace(int nvert)
int
addFace(int nvert, java.awt.Color c)
int
addFace(int nvert, int red, int green, int blue)
int
addVertex(float x, float y, float z)
int
addVertex(Vector3d v)
void
setColor(java.awt.Color c)
void
setColor(int red, int green, int blue)
void
setName(java.lang.String name)
-
-
-
Constructor Detail
-
Object3d
public Object3d(Model3d md, int nvert, int nface)
-
Object3d
public Object3d(java.lang.String name, Model3d md, int nvert, int nface)
-
-
Method Detail
-
addVertex
public int addVertex(Vector3d v)
-
addVertex
public int addVertex(float x, float y, float z)
-
addFace
public int addFace(int nvert, java.awt.Color c)
-
addFace
public int addFace(int nvert, int red, int green, int blue)
-
addFace
public int addFace(int nvert)
-
setName
public void setName(java.lang.String name)
-
setColor
public void setColor(java.awt.Color c)
-
setColor
public void setColor(int red, int green, int blue)
-
-
DMelt 3.0 © DataMelt by jWork.ORG