Skip to content
Shapemetry

Model - Bounds value

API reference for src/nodeMethods/boundsValue on @huukhanhnguyen/model, reachable from ./compute.

See the Guide for the ModelJSON / evaluate pipeline.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

center

function

Center of the target's world bbox — sugar for point(target, 0.5, 0.5, 0.5).

center(target: unknown): Point$1

point

namespace

namespace point

Members: distance, interpolate, midpoint, pointEntity, translate

size

function

Size (dx, dy, dz) of the target's world bbox.

size(target: unknown): Vector
Last updated: 📖 1 min readEdit on GitHub