Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: About Bezier curves in Arrangement
- Date: Tue, 01 Feb 2011 12:05:55 +0100
stzpz wrote:
Thanks very much for your reply!Please found attached patch files that should solve your problem.
Can you try them and tell us whether it works now?
For the first question, is that better to let the returning supporting_curve() contains the correct auxiliary data? Because the returning type of supporting_curve() is Arr_curve_data_traits_2.The return type of
Arr_curve_data_traits_2<Traits_org_2,CurveNumber>::X_monotone_curve_2::supporting_curve() is Traits_org_2::Curve_2 because it inherits from Traits_org_2::X_monotone_curve_2
As documented parameter_range() returns "the approximate parameter range defining the subcurve b."
In addition, I have one more question. Because I want to calculate the new control points of each sub bezier curve (X_monotone_curve_2), I use parameter_range() with de_Casteljau_2() to do that. But it seems that the returned values of parameter_range() is not so accurate for some case and hence influences the result of de_Casteljau_2(). For example, in the following code,
S.
[snip]
Attachment:
patch.tgz
Description: application/compressed-tar
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/01/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/03/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/04/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/05/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/07/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/11/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/11/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/12/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/16/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/11/2011
- Re:Re: [cgal-discuss] Re: About Bezier curves in Arrangement, 碰碰, 02/12/2011
- Re:Re:Re: [cgal-discuss] Re: About Bezier curves in Arrangement, 碰碰, 02/12/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/11/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/07/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/05/2011
- Re: [cgal-discuss] Re: About Bezier curves in Arrangement, Sebastien Loriot (GeometryFactory), 02/04/2011
- [cgal-discuss] Re: About Bezier curves in Arrangement, stzpz, 02/03/2011
Archive powered by MHonArc 2.6.16.