OrientedBoxTreeTool in 2D

Issue #132 new
Luca Verzeroli created an issue

Is it possible to use OrientedBoxTreeTool in 2D?

I would like to use the function closest_to_location to find the distance between a point and a line that represents an object.

So I need to load (i don’t know in which format) the segments that represent the line and then compute the distance from a given point.

Can i use MOAB for this?

Comments (3)

  1. Vijay M

    This looks akin to a ray-trace query. Perhaps @Patrick Shriwise or @Paul Wilson may be able to clarify this.

  2. Paul Wilson

    This is definite possible with the OBBTreeTool. It might be possible with small changes to the 3D version, but definitely possible with a new 2D version based on the 3D version. You’ll also want to look at GeometryQueryTool

  3. Log in to comment