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
AModelthat implementsMeshMakercan 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 intgetHorzCount()intgetVertCount()Modelremake(int n, int k)Build an instance of theModelwith 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
Modelcontains
-
getVertCount
int getVertCount()
- Returns:
- the number of lines of longitude that the
Modelcontains
-
-