library for representing 3D polyhedra

后端 未结 1 1536
[愿得一人]
[愿得一人] 2020-12-17 03:14

Are there any libraries that provide 3D polyhedra, and support calculating the intersection of two polyhedra?

If it makes a difference, the polyhedra I want to model

相关标签:
1条回答
  • 2020-12-17 04:06

    CGAL offers rather more than you're asking for, but does in particular include polyhedra and "boolean"-like operations on them (I'm not sure about "view from any angle" as a primitive, though -- as I recall it wasn't there when I last used it, but that was a while ago -- you may have to iterate projecting the hedges on the appropriate plane).

    The Python bindings are here and I believe the only "big" dependency is Boost Python (used for the bindings).

    0 讨论(0)
提交回复
热议问题