Giter VIP home page Giter VIP logo

meshesoperations's Introduction

MeshesOperations: operations on 3D meshes with R

R-CMD-check R-CMD-check-valgrind

Using the C++ library CGAL to perform operations on 3D Meshes.

Boolean operations on meshes

Intersection

Difference

Union

Shape smoothing

Minkowski sum

  • Octahedron + sphere:

  • Tetrahedron + truncated icosahedron:

Decomposition in convex parts

License

This package is provided under the GPL-3 license. If you wish to use CGAL for commercial purposes, you must obtain a license from the GeometryFactory.

Blog posts

I wrote a blog post devoted to Boolean operations on meshes (using RCGAL, the ancestor of MehesOperations), and another one showing an example of the Minkowski addition.

meshesoperations's People

Contributors

stla avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

meshesoperations's Issues

Interface to CGAL::PMP::centroid()

MeshesOperations currently provides an interface to CGAL::PMP::volume() which is very convenient. It would be very nice to also have an interface to CGAL::PMP::centroid(). My use case is mesh similarity measures. The distance between the mesh centroids is one such measure, and could be derived from having the centroid. Many thanks in advance!

R crashes for boolean operations on some meshes

First of all, many thanks for starting to work on this package! I realize that it's in early development. If it becomes stable, it could be real gamechanger in radiation oncology / medical physics where boolean operations on meshes are carried out for quality assurance on delineated target structures.

So far, I've tinkered with libigl which works quite well. However, I need to wrap it in a C++ program which is difficult to deploy. Having an R package would be much more convenient, and would open up a lot of options with respect to building interactive Shiny apps. However, so far, MeshesOperations only crashes for me when trying boolean operations on some meshes I have. My C++ skills are weak, but I'd like to help if you have time working on user issues with this package. What kind of information do you need? Many thanks in advance!

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.