Package renderer.scene.util
Interface MeshMaker
-
- All Known Implementing Classes:
BarycentricTriangle
,Circle
,CircleSector
,Cone
,ConeFrustum
,ConeSector
,Cylinder
,CylinderSector
,Disk
,DiskSector
,Octahedron
,ParametricCurve
,ParametricSurface
,Pyramid
,PyramidFrustum
,Ring
,RingSector
,Sphere
,SphereSector
,SquareGrid
,SurfaceOfRevolution
,Tetrahedron
,Torus
,TorusSector
,TriangularPyramid
public interface MeshMaker
AModel
that implementsMeshMaker
can rebuild its geometric mesh with different values for the number of lines of latitude and longitude while keeping all the other model parameters unchanged.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getHorzCount()
int
getVertCount()
Model
remake(int n, int k)
Build an instance of theModel
with new values for the number of lines of latitude and longitude while keeping all the other model parameters the same.
-
-
-
Method Detail
-
getHorzCount
int getHorzCount()
- Returns:
- the number of lines of latitude that the
Model
contains
-
getVertCount
int getVertCount()
- Returns:
- the number of lines of longitude that the
Model
contains
-
-