Skip to main content
Solved

How can I get an oriented bounding box?

  • March 3, 2021
  • 2 replies
  • 165 views

I am trying to create a 2D oriented bounding box around the point cloud of a roof with a boundingboxreplacer and the appropriate option, but the result is the same as a standard 2D bounding box. I expect an rotated bounding box. What am I doing wrong?

Best answer by nielsgerrits

You need to convert the PointCloud to a Single Multipoint using a PointCloudCoercer before you feed it to the BoundingBoxReplacer. Same principle for the HullAccumulator.

Example workspace added.

PointCloudCoercerParameters

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • March 3, 2021

You need to convert the PointCloud to a Single Multipoint using a PointCloudCoercer before you feed it to the BoundingBoxReplacer. Same principle for the HullAccumulator.

Example workspace added.

PointCloudCoercerParameters


  • Author
  • March 3, 2021

Yes, that did it. Thanks!