CGAL 6.0 - 2D Arrangements
|
#include <CGAL/Arr_algebraic_segment_traits_2.h>
Object Creation Functors | |
Curve_2 | operator() (Polynomial_2 p) |
Returns a Curve_2 object that represents the curve defined by the polynomial p | |
Curve_2 | operator() (std::string s) |
Returns a Curve_2 object specified by s . | |
Curve_2 CGAL::Arr_algebraic_segment_traits_2< Coefficient >::Construct_curve_2::operator() | ( | std::string | s | ) |
Returns a Curve_2
object specified by s
.
The passed string represents the defining polynomial of the curve and must be given in a MAPLE-readable format using "x" as first and "y" as second variable, e.g., \((x^3*y-2*x)*(-6*x-y^3*x^6)\) for integer coefficients, and \(3/2*x*y^4-5/7*x^2+3/1\) for rational coefficients.