Packagesandy.primitive
Interfacepublic interface Primitive3D
ImplementorsBox, Cone, Cylinder, GeodesicSphere, Hedra, Line3D, Plane3D, Sphere, Torus

An interface implemented by all 3D primitive classes.

This is to ensure that all primitives classes implements the necessary method(s)



Public Methods
 MethodDefined by
  
generate(... arguments):Geometry3D
Generates the geometry for the primitive.
Primitive3D
Method detail
generate()method
public function generate(... arguments):Geometry3D

Generates the geometry for the primitive.

Parameters
... arguments

Returns
Geometry3D — The geometry object for the primitive.

See also