Constructor
new DefSphere(params)
Default values of a sphere
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Methods
compute(info) → {Object}
Creates a sphere object
Parameters:
Name | Type | Description |
---|---|---|
info |
CreateInfo | The creation info |
- Source:
Returns:
An object of type TYPE_SPHERE
- Type
- Object
(static) fromValues(params) → {CreateInfo}
Computes the sphere with the given radius or center.
If any value is EMPTY, the default values are used
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo