Package toxi.geom.mesh
Class SurfaceMeshBuilder
java.lang.Object
toxi.geom.mesh.SurfaceMeshBuilder
An extensible builder class for
TriangleMesh
es based on 3D surface
functions using spherical coordinates. In order to create a mesh, you'll need
to supply a SurfaceFunction
implementation to the builder.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMesh
(int res) createMesh
(Mesh3D mesh, int res, float size) createMesh
(Mesh3D mesh, int res, float size, boolean isClosed) void
setFunction
(SurfaceFunction function)
-
Constructor Details
-
SurfaceMeshBuilder
-
-
Method Details
-
createMesh
-
createMesh
-
createMesh
-
getFunction
- Returns:
- the function
-
setFunction
- Parameters:
function
- the function to set
-