The class below calculates the minimal bounding box for a node in HOOPS Communicator. This is the most tightly fitting non axis-aligned bounding box around the geometry contained within a node. Calculating this bounding box can be useful for volume calculations and measurements and is functionality often found in various CAD applications. As a bonus, this class can also calculate the convex hull for a node.
Can you generate minimum Bounding in markup form ?
I use MinimalBounding calculateMinimalBounding this method to get to the variables of the smallest min and Max, and then use the BoundingBoxMarkup. Js to generate markup, found position is not right. As shown in the figure
Unfortunately, a key limitation with using the bounding box markup is that the bounding box is restricted to being axis-aligned. As stated in the docs:
Represents an axis-aligned bounding box. A box is represented by a minimum and maximum point which describe the extents of the box.
In the case of the moto model in your pic, the bounding box is oriented lengthwise along the y-axis.