bboxCenter()

Synopsis

Returns the center of bbox.

Bounding boxes are represented by a list of two points . The first point represents the minimum x, y, and z coordinates of the bounding box, and the second point represents the maximum point . Thus the bounding box is always aligned with the world coordinate axes.

Syntax

bboxCenter ( bbox As List ) As Point 
Argument Type Description
bbox list The pair of points representing the bounding box.

Example 1

Intent >bboxCenter({point(1,2,3), point(4,5,6)})
--> Point_(2.5, 3.5, 4.5, WorldFrame())