Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Inserting a point into a regular triangulation so that it appears and no other vertex disappears

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Inserting a point into a regular triangulation so that it appears and no other vertex disappears


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Inserting a point into a regular triangulation so that it appears and no other vertex disappears
  • Date: Thu, 9 Jan 2020 07:52:08 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:9IeXXh/2UOodt/9uRHKM819IXTAuvvDOBiVQ1KB31eMcTK2v8tzYMVDF4r011RmVBN6dsa8VwLuP+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhGiTanf79/LBG7oQrVu8ULnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahNFugqJVoByvpBJxzIDbb46XKPVwcbjQfc8YSGdbQspdSyJMD4G6YoASD+QBJ+FYr4zlqlcAsBWxGxKjC/n0yj9Uh3/5w6s62PknHwHBxgwgHtUOsGjJp9nxNakdT+e1zKzWwjXfdfNX2Tfz55LUfRA9pvGMR7Jxfc/fxUIyEA7FlVGQqYv/PzOU0eQNr3KX7+9kVe+0hG4nrht+ojmrxss2lobJgYcVx0nC+C5kw4g1PcW1RFBnbdOgCpddtCGXO5FoTs88Xm1koik3x7wetZKlZicG1IkryhvBZPCbaYeF5wzvWPqMLTp9i39pZqywiwq3/ES9yeDxVtW73VNKoyVbndTBtHUA2ADN5cWGV/dw+0es1iqS2ADd7OxPPFo6mrDBK5E7x749jpoTvlrHHi/xgEj2ibWZdkQg+uSx5eXneKjqqoaSN4J7iwzyKKsumsu4AeQ3NggBQXKX9vi71L3m5UH5QbNKgeMqkqTBrpzWOcAWqrS6DgJVyIov9QizAyq83NkXnHQLNFdFdwiGj4jtNVHOOvf4DfKnjlS3lDdrwOrGPrzmApXRNHTDlbPhcK1y605Z0gUzzNRf64hIBbEGJfL/QlXxu8DADh8lLwy0xP7qB8ly1owEXWKDG7KWMKLJsVCU++IvOPKMaZQOuDf9Lvgl/+ThgWU4mV8bZ6mp3IEYZGq2HvR8cA2lZi/njd4FVGsLpQEjV/fCiVuYUDcVaWzhcbg742RxM4+sBJzfR42ryJiGxia8AtUWSW1BD12QC2bGfo6YXO0dKWjadtRllSYFUqTnTosJ2hSntQu8wL1ieLmHshYEvI7ugYAmr9bYkgs/oGQtXpatllqVRmQxpVsmAjo/3aRxu0t4kw7R3q1xgvgeHttWtaoQDlUKcKXExuk/MOjcHxrbd47QGlmjS9SiRzo2S4BpmoJcUwNGA9ynyyv78W+qDrsSzeHZAZU19ufDxSG0KZojjXnB06Ylgh8tRc4dbWA=

Dear Marc,

I think such a weight does not always exist.

Implementation wise, I would do the following:
a) locate the cell containing the point to be inserted
b) Use the power test (Power_side_of_oriented_power_sphere_3) with the 4 points of the cell to check if the new point is hidden
c) if it is, go back to the definition of the power test and get the minimal weight so that the point is orthogonal to the power sphere of the cell (note that you'll have to resort to exact arithmetic if you want an exact value and then take approx(w).sup() if you want to go
back to the floating point world)
d) together with your minimal weight, call find_conflict(). If there
is a vertex that is surrounded by cells in conflict then the new point
will hide a previously inserted point. If not, you can get the upper
bound by considering the cells incident to the current region in
conflict (but not in that region) and use the definition of the power
test to get for each such cell the maximum value of the weight until the point is orthogonal to the power sphere of that cell.


You of course have to handle the case when the dimension is not 3 and when the point fall outside the convex hull (which simply mean that the
minimal weight is 0).

HTH,

Sebastien.

On 1/7/20 7:18 PM, Marc Alexa wrote:
Dear all,

I want to insert a point p into a regular triangulation. The point has a
fixed coordinate. I am interested in the interval of weights so that the
point itself appears in the triangulation and none of the existing points
disappears. The upper bound (the point appears) is easy: find the cell the
contains p. The cell defines a hyperplane in the lift, and the lift for p
needs to be below the hyperplane. What methods are available in CGAL that
would help me finding the lower bound? Moreover, is there an easy way to walk
through all triangulations in this interval, perhaps parameterized by the
weight?

Thanks!
-Marc






Archive powered by MHonArc 2.6.18.

Top of Page