Package toxi.geom.mesh
Interface SurfaceFunction
- All Known Implementing Classes:
SphereFunction,SphericalHarmonics,SuperEllipsoid
public interface SurfaceFunction
This interface defines a functor for evaluating the coordinates of a surface
mesh used by
SurfaceMeshBuilder.
It is assumed the implementation creates vertices within the unit sphere
(normalized).-
Method Summary
Modifier and TypeMethodDescriptioncomputeVertexFor(Vec3D p, float phi, float theta) floatintgetPhiResolutionLimit(int res) floatintgetThetaResolutionLimit(int res)
-
Method Details
-
computeVertexFor
-
getPhiRange
float getPhiRange() -
getPhiResolutionLimit
int getPhiResolutionLimit(int res) -
getThetaRange
float getThetaRange() -
getThetaResolutionLimit
int getThetaResolutionLimit(int res)
-