Functions leveraging JSCAD to get position data or move 2D/3D geometries.
Namespaces
Methods
(static) findLongAxis(size)
Finds long axis of a coord set.
Parameters:
| Name | Type | Description |
|---|---|---|
size |
Array.<number> | [x, y, z] |
Returns:
axis with longest value (either "x", "y", or "z") or `null` if invalid
(static) getGeomCoords(geom)
Gets 3D bounding coordinates of a given geometry.
Parameters:
| Name | Type | Description |
|---|---|---|
geom |
object |
Returns:
Bounding coords (right, left, back, front, top, bottom)
(static) measure(inputGeom)
Measures key info (boundingBox, dimensions).
Parameters:
| Name | Type | Description |
|---|---|---|
inputGeom |
object |
Returns:
...