Class: Sphere

Sphere~Sphere(options, classSettingsopt)

2 dimensional hypersphere. All the vertices form a sphere.

Constructor

new Sphere(options, classSettingsopt)

Parameters:
Name Type Attributes Description
options Options See Options.
classSettings object <optional>
Circle class settings. See HyperSphere classSettings.
Source:

Extends

  • Circle

Methods

newRandomVertices(scene, options, randomVerticesSettings)

Parameters:
Name Type Description
scene THREE.Scene THREE.Scene
options Options See Options.
randomVerticesSettings object See randomVerticesSettings of the RandomVertices class.
Source:
Returns:
new RandomVertices child class.

vertice2angles(vertice)

Converts a vertice position to vertice angles.
Parameters:
Name Type Description
vertice array array of the vertice axes
Source:
Returns:
Vertice angles.