shape_doc 0.1
semialgebraic_curve< C, V > Class Template Reference

#include <semialgebraic_curve.hpp>

Inheritance diagram for semialgebraic_curve< C, V >:
algebraic_curve< C, V > curve< REF_OF(V)> algebraic_set< C, REF_OF(V)> SHAPE_OFV

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class C, class V = default_env>
class mmx::shape::semialgebraic_curve< C, V >

Definition at line 37 of file semialgebraic_curve.hpp.


Member Typedef Documentation

typedef algebraic_curve<C, REF_OF(V) > AlgebraicCurve

Definition at line 41 of file semialgebraic_curve.hpp.

typedef curve<Ref> Curve [inherited]

Definition at line 49 of file algebraic_curve.hpp.

Reimplemented from algebraic_curve< C, V >.

Definition at line 42 of file semialgebraic_curve.hpp.


Constructor & Destructor Documentation

semialgebraic_curve ( void  ) [inline]

Definition at line 44 of file semialgebraic_curve.hpp.

{} ;
semialgebraic_curve ( char *  s,
int  i = 1 
)
semialgebraic_curve ( const Polynomial p,
int  s = 1 
)

Definition at line 66 of file semialgebraic_curve.hpp.

References algebraic_set< C, REF_OF(V)>::set_equation().

    : AlgebraicCurve(p) { if (s<0) this->set_equation((-1)*p); }
semialgebraic_curve ( AlgebraicCurve c,
int  s = 1 
)

Definition at line 70 of file semialgebraic_curve.hpp.

References algebraic_set< C, V >::equation(), and algebraic_set< C, REF_OF(V)>::set_equation().

    : AlgebraicCurve(c) { if (s<0) this->set_equation((-1)*c->equation()); }
~semialgebraic_curve ( void  ) [inline]

Definition at line 48 of file semialgebraic_curve.hpp.

{};

Member Function Documentation

const Polynomial& equation ( int  i = 0) const [inline, inherited]

Definition at line 64 of file algebraic_set.hpp.

Referenced by semialgebraic_curve< C, V >::inequality(), and semialgebraic_curve< C, V >::semialgebraic_curve().

{ return this->m_polynomials[i] ; }
Polynomial& equation ( int  i = 0) [inline, inherited]

Definition at line 65 of file algebraic_set.hpp.

{ return this->m_polynomials[i] ; }
const Seq<Polynomial>& equations ( ) const [inline, inherited]

Definition at line 63 of file algebraic_set.hpp.

{ return this->m_polynomials ; }
Polynomial inequality ( ) const [inline]

Definition at line 50 of file semialgebraic_curve.hpp.

References algebraic_set< C, REF_OF(V)>::equation().

{ return this->equation() ; }
void insert ( const Polynomial p) [inline, inherited]

Definition at line 67 of file algebraic_set.hpp.

Referenced by algebraic_curve< C, V >::algebraic_curve().

{ this->m_polynomials<<p; }
int nbequation ( ) const [inline, inherited]

Definition at line 68 of file algebraic_set.hpp.

{ return m_polynomials.size(); }
typedef REF_OF ( ) [inherited]
void set_equation ( const Polynomial p) [inline, inherited]

Definition at line 66 of file algebraic_set.hpp.

Referenced by semialgebraic_curve< C, V >::semialgebraic_curve().

{ this->m_polynomials[0]=p ; }
typedef SHAPE_OF ( )

The documentation for this class was generated from the following file: