...
- Source:
Namespaces
Methods
getKeypoints()
Gets the keypoints for a given object
- Source:
Returns:
...
measure()
Measures key info, and presents it in a readable manner, like `{ size: { x: 99, y: 99, z: 99 }, min: { ... }, max: { ... } }`
- Source:
Returns:
...
(static) findLongAxis(size)
Finds long axis of a coord set
Parameters:
Name | Type | Description |
---|---|---|
size |
Array.<number> | [x, y, z] |
- Source:
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 |
- Source:
Returns:
Bounding coords (right, left, back, front, top, bottom)