Go::AlgObj2DInt Class Reference
[Intersections]

Class for 2-dimensional algebraic intersection objects. More...

#include <AlgObj2DInt.h>

Inheritance diagram for Go::AlgObj2DInt:

Go::AlgObjectInt Go::Line2DInt List of all members.

Public Member Functions

 AlgObj2DInt (int degree)
 Constructor.
 AlgObj2DInt (const std::vector< Alg2DElem > &terms)
 Constructor.
virtual ~AlgObj2DInt ()
 Destructor.
int numTerms ()
 Get the number of terms in the algebraic object.
Alg2DElem term (int index)
 Get a term from the algebraic object.

Protected Attributes

int degree_
std::vector< Alg2DElemterms_
bool power_basis_

Detailed Description

Class for 2-dimensional algebraic intersection objects.

Definition at line 69 of file AlgObj2DInt.h.


Constructor & Destructor Documentation

Go::AlgObj2DInt::AlgObj2DInt ( int  degree  ) 

Constructor.

Parameters:
degree the total degree of the algebraic expression, i.e. the maximum sum of exponents of a factor.

Go::AlgObj2DInt::AlgObj2DInt ( const std::vector< Alg2DElem > &  terms  ) 

Constructor.

Parameters:
terms the terms in the algebraic expression, i.e. elements on the form $a_{ij} x^i y^j$.


Member Function Documentation

int Go::AlgObj2DInt::numTerms (  )  [inline]

Get the number of terms in the algebraic object.

Returns:
The number of terms in the object.

Definition at line 86 of file AlgObj2DInt.h.

References terms_.

Alg2DElem Go::AlgObj2DInt::term ( int  index  ) 

Get a term from the algebraic object.

Returns:
the term with index index


The documentation for this class was generated from the following file:
Generated on Fri Nov 23 12:24:33 2007 for GoTools Intersections Library by  doxygen 1.5.1