class MeshData
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
MeshData.Data
This internal class is a container for the return values of the getXxxData
methods.
|
| Constructor and Description |
|---|
MeshData() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static MeshSurface |
getCircleData()
Calculates the data (faces, vertices, normals) for a circle.
|
(package private) static MeshSurface |
getConeData()
Calculates the data (faces, vertices, normals) for a cone.
|
(package private) static MeshSurface |
getCylinderData(boolean inSide)
Calculates the data (faces, vertices, normals) for a cylinder.
|
(package private) static MeshSurface |
getSphereData()
Calculates the data (faces, vertices, normals) for a sphere.
|
(package private) static MeshSurface |
getTriangleData(javax.vecmath.Point3f pt1,
javax.vecmath.Point3f pt2,
javax.vecmath.Point3f pt3)
Calculates the data (faces, vertices, normals) for a triangle.
|
static MeshSurface getCircleData()
static MeshSurface getTriangleData(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, javax.vecmath.Point3f pt3)
pt1 - Vertex 1.pt2 - Vertex 2.pt3 - Vertex 3.static MeshSurface getConeData()
static MeshSurface getCylinderData(boolean inSide)
inSide - Whether inside or not.static MeshSurface getSphereData()