Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Patch for docstrings of Arr_geometry_traits/de_Casteljau_2.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Patch for docstrings of Arr_geometry_traits/de_Casteljau_2.h


Chronological Thread 
  • From: Shriramana Sharma <>
  • To:
  • Subject: Re: [cgal-discuss] Patch for docstrings of Arr_geometry_traits/de_Casteljau_2.h
  • Date: Tue, 12 Feb 2013 13:17:36 +0530

On Mon, Feb 11, 2013 at 7:04 PM, Efi Fogel
<>
wrote:
> Thank you for the patch. I have applied it and it.

Here's some more improvement for the same file. The contents should be
evident enough, but let me just clarify:

de_Casteljau_2.h is the CGAL 4.1 release version.
_new_1.h is the version with whose patch 0to1 I have supplied earlier
on in this thread.
_new_2.h has clarifications re the back/front inserter stuff (since I
had problems due to forgetting that).
_new_3.h has an extra function subcurve_control_polygon_2 which uses
the existing de_Casteljau_2 function (which splits at only one t and
produces the left and right curves) to split the curve between two
given parameters. I hope the coding (though minimal) is OK and
acceptable per CGAL standards.

Since this file is not part of the public API anyway, you may decide
to include or not the last patch because this new function is not
needed internally. But I really recommend the first two since it will
be useful for CGAL developers too who may use it. I did the extra
function for my own use and just putting it out here as it may benefit
someone.

(Just my small contribution to a project from which I hope to benefit much.)

--
Shriramana Sharma

Attachment: decastel.tar.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.18.

Top of Page