module:extras/superellipsoid.Supershape
### new module:extras/superellipsoid.Supershape(m, n1, n2, n3, a, b, rx, ry, phase)
TODO: Not documented yet.
Parameters
m
(Type: *)
TODO: Not documented yet.n1
(Type: *)
TODO: Not documented yet.n2
(Type: *)
TODO: Not documented yet.n3
(Type: *)
TODO: Not documented yet.a
(Type: *)
TODO: Not documented yet.b
(Type: *)
TODO: Not documented yet.rx
(Type: *)
TODO: Not documented yet.ry
(Type: *)
TODO: Not documented yet.phase
(Type: *)
TODO: Not documented yet.
Methods
- roundedPolygon
TODO: Not documented yet. - supercircle
TODO: Not documented yet. - superellipse
TODO: Not documented yet. - superellipse2
Creates a curve evaluator object for a superellipse (a special case of a 2-D supershape), but using Paul Bourke’s parameterization (using the circle parametric equation but raising all sines and cosines to a power of n). - superellipsoid
TODO: Not documented yet. - superellipsoid2
Creates a surface evaluator object for a superellipsoid (a special case of a 3-D supershape), but using Paul Bourke’s parameterization (using the sphere parametric equation but raising all sines and cosines to a power of n1 or n2). - supershape3D
TODO: Not documented yet.
### (static) module:extras/superellipsoid.Supershape.roundedPolygon(sides, rounding, rx, ry)
TODO: Not documented yet.
Parameters
sides
(Type: *)
TODO: Not documented yet.rounding
(Type: *)
TODO: Not documented yet.rx
(Type: *)
TODO: Not documented yet.ry
(Type: *)
TODO: Not documented yet.
Return Value
TODO: Not documented yet. (Type: *)
### (static) module:extras/superellipsoid.Supershape.supercircle(n, rx)
TODO: Not documented yet.
Parameters
n
(Type: *)
TODO: Not documented yet.rx
(Type: *)
TODO: Not documented yet.
Return Value
TODO: Not documented yet. (Type: *)
### (static) module:extras/superellipsoid.Supershape.superellipse(n, rx, ry)
TODO: Not documented yet.
Parameters
n
(Type: *)
TODO: Not documented yet.rx
(Type: *)
TODO: Not documented yet.ry
(Type: *)
TODO: Not documented yet.
Return Value
TODO: Not documented yet. (Type: *)
### (static) module:extras/superellipsoid.Supershape.superellipse2(n, rx, ry)
Creates a curve evaluator object for a superellipse (a special case of a 2-D supershape), but using Paul Bourke’s parameterization (using the circle parametric equation but raising all sines and cosines to a power of n).
Parameters
n
(Type: number)
Exponent for the sines and cosines in the superellipse equation. A value of 1 forms a circle, values approaching 0 have the circle approach a square, and values approaching infinity have the circle approach a plus sign.rx
(Type: number)
Radius along the X axis of the figure.ry
(Type: number)
Radius along the Y axis of the figure.
Return Value
Curve evaluator object for a superellipse curve. (Type: Object)
### (static) module:extras/superellipsoid.Supershape.superellipsoid(n1, n2, rx, ry, rz, phase)
TODO: Not documented yet.
Parameters
n1
(Type: *)
TODO: Not documented yet.n2
(Type: *)
TODO: Not documented yet.rx
(Type: *)
TODO: Not documented yet.ry
(Type: *)
TODO: Not documented yet.rz
(Type: *)
TODO: Not documented yet.phase
(Type: *)
TODO: Not documented yet.
Return Value
TODO: Not documented yet. (Type: *)
### (static) module:extras/superellipsoid.Supershape.superellipsoid2(n1, n2, rx, ry, rz)
Creates a surface evaluator object for a superellipsoid (a special case of a 3-D supershape), but using Paul Bourke’s parameterization (using the sphere parametric equation but raising all sines and cosines to a power of n1 or n2).
Parameters
n1
(Type: number)
Exponent for the sines and cosines along the V axis.n2
(Type: number)
Exponent for the sines and cosines along the U axis.rx
(Type: number)
Radius along the X axis of the figure.ry
(Type: number)
Radius along the Y axis of the figure.rz
(Type: number)
Radius along the Z axis of the figure.
Return Value
Surface evaluator object for a superellipsoid. (Type: Object)
### (static) module:extras/superellipsoid.Supershape.supershape3D(m, n1, n2, n3, a, b, rx, ry, phase)
TODO: Not documented yet.
Parameters
m
(Type: *)
TODO: Not documented yet.n1
(Type: *)
TODO: Not documented yet.n2
(Type: *)
TODO: Not documented yet.n3
(Type: *)
TODO: Not documented yet.a
(Type: *)
TODO: Not documented yet.b
(Type: *)
TODO: Not documented yet.rx
(Type: *)
TODO: Not documented yet.ry
(Type: *)
TODO: Not documented yet.phase
(Type: *)
TODO: Not documented yet.
Return Value
TODO: Not documented yet. (Type: *)