Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Algebraic curves with non-integer coefficients

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Algebraic curves with non-integer coefficients


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] Algebraic curves with non-integer coefficients
  • Date: Tue, 9 Jun 2015 09:26:31 +0300

The coefficient must be rational.
You have to find a way to make them rational if you want to use this component.

   ____  _        ____             _
  /_____/_) o    /__________  __  //
 (____ (   (    (    (_/ (_/-(-'_(/
                         _/



On Mon, Jun 8, 2015 at 4:35 PM, Lee Croft <> wrote:
Hello,

I have a question regarding arrangements with algebraic curves defined by
bi-variate polynomial equations. I have found that it is possible to create
such arrangements using the Arr_algebraic_segment_traits_2 class, however
the class is templated to take a coefficient and according to the
documentation, it can only take one of three types, leda::integer,
CORE::BigInt, or an instance of CGAL::Sqrt_extension instantiated with an
integral type. The application that I am making involves the use of
polynomials which are not guaranteed to have integer coefficients. Is there
any way to allow for rational or real numbers to be used instead or is there
another traits class that I could use instead to achieve this?

Thank you,
Lee



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Algebraic-curves-with-non-integer-coefficients-tp4660902.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






Archive powered by MHonArc 2.6.18.

Top of Page