Subject: CGAL users discussion list
List archive
- From: Giles Puckett <>
- To: "" <>
- Subject: [cgal-discuss] PMP performance question
- Date: Fri, 22 Jan 2021 14:05:28 +1000
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:m6SjqBTRt22M9V/AnBhfpyDJzNpsv+yvbD5Q0YIujvd0So/mwa6zZhCN2/xhgRfzUJnB7Loc0qyK6vGmADFLvcrJ8ChbNsAVCFld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbdgMutyu+95YDYbRlWizqhe7NyKwi9oRnMusUMjoZuN6I8xgHUrnZIdOhbymxlLk+Xkxrg+8u85pFu/zlStv4768JMTaD2dLkkQLJFCzgrL3o779DxuxnZSguP6HocUmEInRdNHgPI8hL0UIrvvyXjruZy1zWUMsPwTbAvRDSt9LxrRwPyiCcGLDE27mfagdFtga1BoRKhoxt/w5PIYIyQKfFzcL/Rcc8cSGFcWMtaSi5PDZ6mb4YXEeQPPftWoYrzqVQAohSxGQaiCfjzyjJKnHL6wbE23uojHAzAwQcuH8gOsHPRrNjtNakSUOS1w7fTzT7edf1WxCvy6IvWfRA9vfGHQLV9ccXQyUkrCQzFlU2QpJfkPzOU0OQCrXSb4/BmVe2xl24rsRt+oiW2y8oql4LGiZ4bxEre+iVl3IY6O8e4SEhjbNK5EJZdqi+XOoh3T80tTG9lpSY3x7MJtJO1YCUG1ZcqyhrbZvCbbYSE/xPuWeeVLDl3h39oeKyzihK9/0auyuPxUNS/3lVSriddjNXAqn4A2wbT58WDUPdx412t1SuT2w3S8u1IP1w4mbTBJ5I8wLM9mIAfvVnBEyPrgkn6kaybe0Ei9+O18eroeK/mqYWZN4JsigHxLKAumsunDOQ5LgcOR3GX+eOn1LL45EH5Qa9KjvowkqjZqZzaItkbprK4DgNPzIki5Aq/ACm80NQeh3YHKEhJeBOGj4jvJV7OPOr0DfGhjFSwijtk3e3GMqXgApXLMHfDjK/scahh50NS0gY+zdRS64hJBr0bPf7/Rk78uMTdDhAjMgy0x+jnCM961oMbQW+PDa6ZMKfMvl+T/uIiOOiMZI4TuDnjN/gp/fjugmElmVMHZ6apwIMbaGqkEfR+P0WZfX3sj88dHmcFpAU+SPXmh0CDUT5Ie3myQrk85iogBYK9DYbDQ5itj6ab0Ce6GJ1WfGFGBUqWHXfmbYXXE8sLPWiZLcZl1zAFTrO8UJQJ1Be0tQa8xaAtZr7f9SQc8J7iz9No/Pb7lBco9DUyAd7LgE+XSGQhsWIMSiR+5L10okFh1h/X3ql8judAPd1S4f5VFAE3KdjV0ropWJjJRgvdc4LRGx6dSdK8DGRpF4Nj85o1e094Xu6aoFXG1iuuDaUSkuXXVp019K/AmX78O4B01iSfjfRzvxwdWsJKcFaeqOt/+gzUW9Sbkk6B0qGxf+EdxinL5SKE0HbQ+kxITANqV6zBG3EeYEbK69L0+gXLUu32UOh1Ak560ceHb5ByRJjxl1wfGKXiOdLTfyS3lnv2DAvanr4=
Hello,
I have an application that builds 3D volumes by combining simple shapes (cubes, cylinders) using corefine_and_compute_union. There may be 100-400 simple shapes.
I tried two ways of doing the unions:
1. Build up the result by unioning in one cube at a time, or
2. Union the simple shapes in pairs, then union their results (in a binary tree fashion) until you get one object left.
I noticed that method 2 is a lot slower than method 1 - I assumed it was because there are many more faces to be split when corefining. Is this a reasonable assumption? I am interested in method 2 again as it lends itself to doing unions in parallel, potentially reducing operations from O(N) to O(log2 N) if there are enough cores/threads.
What determines the performance if corefine_and_compute_union? Is it the complexity of the meshes, the complexity of the intersection path, or something else?
And is PMP able to be multithreaded?
Giles.
- [cgal-discuss] PMP performance question, Giles Puckett, 01/22/2021
- Re: [cgal-discuss] PMP performance question, Sebastien Loriot, 01/27/2021
- Re: [cgal-discuss] PMP performance question, Giles Puckett, 01/27/2021
- Re: [cgal-discuss] PMP performance question, Tony Apicella, 01/29/2021
- Re: [cgal-discuss] PMP performance question, Sebastien Loriot, 01/27/2021
Archive powered by MHonArc 2.6.19+.