Usage (signatures)
board.create('mesh3d', [point, direction1, direction2, range1, range2]);
range1 and range2 (arrays of length 2) give the respective ranges.
All parameters can be supplied as functions returning an appropriate data type.
Parameters
| Name | Type | Description |
|---|---|---|
point |
Array | Array of length 3 determining the starting point of the grid |
direction1 |
Array | Array of length 3 for the directions of the grid |
direction2 |
Array | Array of length 3 for the directions of the grid |
range1 |
Array | |
range2 |
Array |
Attributes
Own
stepWidthU
- Description
Step width of the mesh in the direction of the first spanning vector.
- Type
- Number
- Default Value
- 1
- Source
- options3d.js, line 928
stepWidthV
- Description
Step width of the mesh in the direction of the second spanning vector.
- Type
- Number
- Default Value
- 1
- Source
- options3d.js, line 938
Inherited
none
Throws
-
If the element cannot be constructed with the given parent objects an exception is thrown.
- Type
- Exception
Details
- Type
- Object
- Source
- 3d/box3d.js, line 301