Giter Club home page Giter Club logo

Comments (2)

juj avatar juj commented on September 27, 2024

Thanks for querying. This was a long time todo, and did not have much interest in implementing handling for that case. Pushed in an implementation for this now in the above commit, and added a test for the planar case. I have not visualized this kind of scenario extensively in practice, so not sure how numerically float robust the implementation is - there may be some corner cases.

Basically the implementation detects if the input point set is planar so that either 3D convex hull computation fails, or the OBB computation fails, and then the common plane of the whole input point set is detected, and the point set projected flat to that common 2D plane, and a resulting OBB is constructed in that orientation. If you have point sets for which the computation fails badly, try building a test case with the tricky point set included (see the above commit for an example).

from mathgeolib.

aybe avatar aybe commented on September 27, 2024

Thank you!

Should I find a case where it's not behaving as expected, I will open an issue about it.

Best Regards

from mathgeolib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.