Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Linear Cell complex: Spliting an segment by inserting a point

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Linear Cell complex: Spliting an segment by inserting a point


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] Linear Cell complex: Spliting an segment by inserting a point
  • Date: Mon, 13 Jul 2015 12:24:31 +0200

Le 13/07/2015 09:43, Pranav a écrit :
Hi Guillaume,

Further I would like to know if while inserting the vertex on a segment I
want to split the the facet containing that segment then should I use
insert_point_in_cell<2>(dartHandleToSegment, point) ?

No. insert_point_in_cell<2> inserts a point in the middle of the 2-cell. For a triangle, it will be split in 3 triangles.


For example, say for a triangle represented by 2-cell, I want to insert a
vertex on one of its edge and it should be inserted in such a way so that
this triangle is split into 2 triangles.


To do this operation, you must first insert a point in the edge, then insert an edge between the new point and the third point of the triangle.

Guillaume






--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Linear-Cell-complex-Spliting-an-segment-by-inserting-a-point-tp4660541p4661005.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



--
===================================================================
Guillaume DAMIAND

CNRS - LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36
Mail:

Web: http://liris.cnrs.fr/guillaume.damiand/
===================================================================


Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.18.

Top of Page