Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
You seem to be stuck in the old documentation.
Please see the new website at www.openjscad.xyz, and from the help there are links to the User Guide and the API documentation.
Sorry… that documentation is not complete. We will have to make some updates. 😞
There’s slightly better documentation here.
Basically, your design needs to call measureBoudingBox(shape), which returns an array of points, lower and upper bounds.