Module: getHyperSphere

Returns a Hypersphere with random vertices.
Author:
License:
  • under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Source:

Methods

(inner) getHyperSphere(HyperSphere, options, scene, randomVertices, settingsopt)

Parameters:
Name Type Attributes Default Description
HyperSphere Circle | Sphere | HyperSphere3D See Circle, Sphere, HyperSphere3D,
options Options See Options.
scene THREE.Scene THREE.Scene
randomVertices object Array of the random vertices. See classSettings.settings.object.geometry of Hypersphere.
settings object <optional>
{} The following settings are available
Properties
Name Type Attributes Default Description
debug object <optional>
{} See params.debug of the RandomVertice.
r float <optional>
1.0 HyperSphere radius.
name string <optional>
HyperSphere name. Default names see classSettings.settings.object.name of Hypersphere.
color string <optional>
HyperSphere color. Default color see classSettings.settings.object.color of Hypersphere.
Source:
Returns:
A Hypersphere with random vertices.