Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Advice on how to use Triangulated Surface Mesh Segmentation in Python?
Chronological Thread
- From: Yuxiang Wang <>
- To: "Sebastien Loriot (GeometryFactory)" <>,
- Subject: Re: [cgal-discuss] Advice on how to use Triangulated Surface Mesh Segmentation in Python?
- Date: Wed, 25 Oct 2017 09:12:29 -0700
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:fHA/rBelOyLV3iAGjNjwqTV1lGMj4u6mDksu8pMizoh2WeGdxc67bR7h7PlgxGXEQZ/co6odzbGJ4+a9ASQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpW1aJhKqfzF4LO3uBo/fiYyT0Pqz/IGbIypFgz+wfaljAhy9sQLLp4hcyd95LqEryxzV5H5MU+tTzGJsY1mUmkC4rsy/9Zom/yVLsO867OZBV7/7duI2V+92FjMjZlEo9MzisxaLcgKJ6TNIQ3pLmxhgHQnf4xD8X563vyfn4LkukBKGNNH7GOhnEQ+p6L1mHUfl
Hi Sebastien,
Thank you for your response! That's great to get me started. Appreciate it!
Best,
Shawn
On Tue, Oct 24, 2017 at 8:06 PM, Sebastien Loriot (GeometryFactory) <> wrote:
If you only want to use the free function I think doing the mapping is rather simple. Simply write an interface function calling all CGAL code
internally. The most problematic part is what is your input. If it is
a file or python data structure. In case of a file, there is no
particular issue, if it is a data structure I would suggest to create
a string that have the off format.
For a single function you can follow the wiki page about how to create
user package:
https://github.com/CGAL/cgal-swig-bindings/wiki/User_package
Alternatively, you can also follow any tutorial on the web to map
a c++ function to python.
Sebastien.
On 10/24/2017 07:56 PM, Yuxiang Wang wrote:
Dear CGAL developers,
Sorry for the spam.
I know that CGAL has a nice module of Triangulated Surface Mesh Segmentation (https://doc.cgal.org/latest/Surface_mesh_segmentation/index.html). I'd like to interface it with my Python code base, but I realized that it is not listed in our SWIG bindings for Python. I was wondering that, could you please share some suggestions on whether it is possible, or how I could get started in incorporating it into my Python code?
Thank you,
yw5aj
- [cgal-discuss] Advice on how to use Triangulated Surface Mesh Segmentation in Python?, Yuxiang Wang, 10/24/2017
- Message not available
- Re: [cgal-discuss] Advice on how to use Triangulated Surface Mesh Segmentation in Python?, Yuxiang Wang, 10/25/2017
- Message not available
Archive powered by MHonArc 2.6.18.