...
Namespaces
Members
(static, constant) alignModes
...
Methods
getKeypoints()
Gets the keypoints for a given object
Returns:
...
measure()
Measures key info, and presents it in a readable manner, like `{ size: { x: 99, y: 99, z: 99 }, min: { ... }, max: { ... } }`
Returns:
...
(static) ctr(inGeom, pt)
...
Parameters:
| Name | Type | Description |
|---|---|---|
inGeom |
* | |
pt |
* |
Returns:
...
(static) ctrMax(inGeom, pt)
...
Parameters:
| Name | Type | Description |
|---|---|---|
inGeom |
* | |
pt |
* |
Returns:
...
(static) ctrMin(inGeom, pt)
...
Parameters:
| Name | Type | Description |
|---|---|---|
inGeom |
* | |
pt |
* |
Returns:
...
(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)