Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] A polyline in 3D that cannot be triangulated

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] A polyline in 3D that cannot be triangulated


Chronological Thread 
  • From: Mael <>
  • To:
  • Subject: Re: [cgal-discuss] A polyline in 3D that cannot be triangulated
  • Date: Fri, 14 Jun 2019 08:46:17 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:L0CYBhbxuzuX7F4kzUFnQqr/LSx+4OfEezUN459isYplN5qZr8u7bnLW6fgltlLVR4KTs6sC17OP9fm+ASdZucfJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MQi6oR/MusQXnYduJbs9xgfNr3BVZ+lY2GRkKE6JkR3h/Mmw5plj8ypRu/Il6cFNVLjxcro7Q7JFEjkoKng568L3uxbNSwuP/WYcXX4NkhVUGQjF7Qr1UYn3vyDnq+dywiiaPcnxTbApRTSv6rpgRRH0hCsbMTMy7WfagdFygq1GuhKsvwFxzZDaYI+VN/RwcK3SctwYSmVdUchcTDBBD4GmYocTE+YMM+RVoo/grFUOtxu+AgysCfvoxDBSmHD22bAx3uMkEQ7cwgMgG8gCsG7TrNXoO6YdT+S1wLPMzTrZdPxZwiny5ZPHch8/pvGMWKx/cdbLyUgvGQPKlEmfqZDiPzOP1uUBqXSU7+1lVe+2jWMstg9/oj+qxsg2i4nJgJoYylbe+ipi24k1IcO3RFRnbt6jFZtcry6aN4xxQsMtR2Fnpjw2xaEBuZ6+eiUB1ZcpxwbHZvGIcoWE+A/vWPqRLDtiin9oeaiziwuy/ES80uHxUtW43ExJoydEiNXAqGwB2wHJ5sWFTvZw+Fqq1yyV2ADJ8O5EJFg5larFJJ4lxb49jocfvEbZEi/zn0X7jbWadkA+9eip7+Tre7LmpoKAN4NujQH+LKQulta5AesmLggCR2mb+eKi273/5UD0T7RHgucrnqXFsJ3WP8oWq6+jDwNI0osv9w6zDzK839QZmXkHIkhFeBWCj4XxPlHBOu73DfOlj1S2lzdr2v/HMaPlApnXKnjMiqzucq1j5ENHxwo809df55dKBbEdOvLyWkHxu8bEAR8lNAy02ebmBM9h2YMZXGKDGrWZP7/KsV+U+uIvJPGBa5MauDnnL/gp/uPhjX4imVABYKmpxoAXZWujHvVmJkWZeWDjjs0AEWcMpAo+TfblhEeMUT5JND6OWPc36Tg/TY6nFozeXZuFgbqb3S79EIcFSHpBDwWpGHrsP9GBUvoILjiVP99slnoAXLKrRqcu2BaruRPg2rRuJfbT4DxevpXmgosmr9bPnA0/oGQnR/+W1HuAGjktwzE4AgQu1aU6mnRTj1eO1a8i3q4BSppW4K0PVw47Mdvb0vA8DM7yHATMYoXREQf0cpCdGTg0C+kJ7ZoLakd5Fc+li0qajSWnBLoYi6aaCpU/7qXGzj76IMMvky+ahplktEEvR450DUPjnrR2rVGBCIPOlkiFjbekfK8A2zTcsmyEyDjWsQ==

Hello,

You may in theory have self-intersections in your input, but the result is not guaranteed as too many constraints might make it impossible to find a triangulation.

There seems to be some self-intersections (at vertices nonetheless) in your input; what result do you expect at those locations: should the tiny hole and the big hole be filled independently, or something else? For this reason, it is best to clean your input or just split your polyline into multiple polylines if you have these self-intersections.

Best,
Mael

On 12/06/2019 19:17, danielyan86129 wrote:
Dear CGAL,

I have a hole boundary represented as a polyline L = {v_1, ..., v_n}, v_i
being index into some mesh structure. I've verified this is a simple polygon
because every vertex is of degree 2. The 3d coordinates of the vertices are
denoted as P = {p_1, ..., p_n}. I'm using triangulate_hole_polyline(P, F) to
fill holes represented as polyline where F denotes the output patch faces
(each being a triple of indices into P). However this polyline cannot be
triangulated by the API, i.e. F is empty. Here is data V:

https://drive.google.com/open?id=1zYT3wisdWXBatkARTJq1YzzG_eN_zaP5

What could go wrong? Would the API fail if some line segments are
geometrically intersecting?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page