-
Notifications
You must be signed in to change notification settings - Fork 1
Classes Reference
Caution: This is an abstract class and should never be instantiated.
geomBase.purge()
Remove all the geometrices in the scene
- An Array of all the references of the geometrices created
hyperCube(dimension: Number, dimensions: [length: Number], offset?: [diatance: Number], rotation?: [[axisIndex0, axisIndex1, angle]], spin:? [[axisIndex0, axisIndex1]], projType?: boolean): hyperCube
-
Dimension of the hypercube, n ∈ [4, +∞]
-
Array of dimensions of the hypercube
-
Array of offset diatances related to the origin
-
Array of arrays determine the initial orientation of the cube. Subarray[0], Subarray[1] are the axises determine the rotation surface, Subarray[2] is the rotation angle.
-
Array of arrays determine the spin animation. Subarray[0], Subarray[1] are the axises determine the rotation surface.
-
If set true, apply ,otherwise apply parallel projection
this.update(rotation?: [angel: Number],offset?: [diatance: Number], dimensions?: [length: Number]): void
Repaint the hypercube according to the parameter
rotation: Array of rotation angels in radian
Other parameters definition same to the constructor
this.destructor(): void
Remove this hypercube from scene and free the memory.
- If set true, apply ,otherwise apply parallel projection
simplex(dimensions: [length: Number], offset?: [diatance: Number], rotation?: [[axisIndex0, axisIndex1, angle]], spin:? [[axisIndex0, axisIndex1]], projType?: boolean): simplex
-
Array of dimensions of the simplex
-
Array of offset diatances related to the origin
-
Array of arrays determine the initial orientation of the cube. Subarray[0], Subarray[1] are the axises determine the rotation surface, Subarray[2] is the rotation angle.
-
Array of arrays determine the spin animation. Subarray[0], Subarray[1] are the axises determine the rotation surface.
-
If set true, apply ,otherwise apply parallel projection
this.update(rotation?: [angel: Number],offset?: [diatance: Number], dimensions?: [length: Number]): void
Repaint the simplex according to the parameter
rotation: Array of rotation angels in radian
Other parameters definition same to the constructor
this.destructor(): void
Remove this simplex from scene and free the memory.
- If set true, apply ,otherwise apply parallel projection
hilbertCurve(dimension: Number, orders: Number, unitLength?: Number, projType?: Boolean): hilbertCurve
-
Dimension of the hilbert curve , n ∈ [2, +∞]
-
Order of the curve
-
Unit length of the curve
-
If set true, apply ,otherwise apply parallel projection
this.destructor(): void
Remove this hypercube from scene and free the memory.
- If set true, apply ,otherwise apply parallel projection