Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 回复: [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 回复: [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition


Chronological Thread 
  • From: Jhon Chin <>
  • To:
  • Subject: Re: [cgal-discuss] 回复: [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition
  • Date: Sun, 21 Apr 2013 02:32:09 +0800

I've got the idea,And thanks for teaching me this class.


On Wed, Apr 17, 2013 at 11:11 PM, Andreas Fabri <> wrote:

What you do is impolite.
Imagine I started posting in German, and others in French, Dutch...

andreas


On 17/04/2013 16:45, 杨成林 wrote:
> 你应该另开一个主题,不要随便插入别人的问题。网上几乎找不到CGAL中文资料,
> 必须通过英文学习。
>
>
> 2013/4/17 乞丐开宝马 < <mailto:>>
>
>     CGAL中当使用oFileT << T;其中T表示三角网对象。txt中存储的内容表示什么
>
>
>     ------------------ 原始邮件 ------------------
>     *发件人:* "乞丐开宝马"< <mailto:>>;
>     *发送时间:* 2013年4月17日(星期三) 晚上10:12
>     *收件人:* "cgal-discuss"__; "cgal-discuss"__;
>     *主题:* Re: [cgal-discuss] [Arr_polyline_traits_2] Unhandled
>     precondition
>
>     CGAL怎么把三维三角网中的每个三角形输出到txt中。好像不能使用
>     finite_facets_begin()遍历,因为里面没有输出顶点的函数
>
>
>     ------------------ Original ------------------
>     *From:* "Efi Fogel"____;
>     *Date:* 2013年4月17日(星期三) 下午5:39
>     *To:* "cgal-discuss"____;
>     *Subject:* Re: [cgal-discuss] [Arr_polyline_traits_2] Unhandled
>     precondition
>
>     I cannot reproduce.
>     Did you mean something like the following:
>
>     Arrangement_2 arr;
>     Traits_2::X_monotone_curve_2 pi;
>     Kernel::Segment_2 seg(Point_2(0, 0), Point_2(1, 0));
>     pi.push_back(seg);
>     insert(arr, pi);
>
>     This works fine for me.
>
>
>     On Mon, Apr 15, 2013 at 6:15 PM, Tapadi <
>     <mailto:>> wrote:
>
>         Hello all,
>
>         The method
>         CGAL::Arr_polyline_traits_2<SegmentTraits>::Curve_2::push_back
>         has a precondition: the Curve_2 object has to be non empty. If
>         push_back is
>         called
>         while the Curve_2 is empty, it causes a segmentation fault.
>
>         I use this configuration:
>
>         typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
>         typedef CGAL::Arr_segment_traits_2<Kernel>
>         Segment_traits;
>         typedef CGAL::Arr_polyline_traits_2<Segment_traits> Traits;
>         typedef Traits::Curve_2
>         Polyline_2;
>
>         Does the problem occur only in my case ? Should it be a
>         CGAL::precondition
>         violation
>         instead of a segfault?
>
>         Anyway, thanks for the work done for the whole Arrangement_2
>         package. It is
>         really
>         helping me a lot.
>
>         Best regards,
>         Hugo Loi
>         PhD student at Inria - Maverick Team
>
>
>
>         --
>         View this message in context:
>         http://cgal-discuss.949826.n4.nabble.com/Arr-polyline-traits-2-Unhandled-precondition-tp4657203.html
>         Sent from the cgal-discuss mailing list archive at Nabble.com.
>
>         --
>         You are currently subscribed to cgal-discuss.
>         To unsubscribe or access the archives, go to
>         https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
>
>
>
>     --
>     ____ _ ____ _
>     /_____/_) o /__________ __ //
>     (____ ( ( ( (_/ (_/-(-'_(/
>     _/
>
>
>
>
>
> --
> 杨成林
> Yang Chenglin


--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page