ISeeML
1.0
|
This class defines basic 2D geometric objects, from which compound geometric objects are built. More...
#include <BasicObject.hpp>
Additional Inherited Members | |
![]() | |
virtual iSeeML::geom::Object & | translate (const iSeeML::geom::Vector &v)=0 |
Modification method, translating a iSeeML::geom::Object along a vector. More... | |
virtual bool | operator== (const iSeeML::geom::Object &other) const |
Equality operator between geometric objects. More... | |
![]() | |
virtual | ~Object () |
This virtual class needs a virtual destructor. | |
virtual const string | className () const |
Description method, giving the object's class name. More... | |
virtual iSeeML::Object & | clone () const =0 |
Description method, giving a copy of the current object. More... | |
virtual void | writeTo (ostream &O) const =0 |
Description method, writing a description of the object into a given output stream. More... | |
bool | sameClass (const iSeeML::Object &other) |
Method verifying that a given object has the same type (same class name) than the current one. More... | |
![]() | |
template<class T > | |
static const T & | min (const T &a, const T &b) |
Method giving the minimum of two elements. More... | |
template<class T > | |
static const T & | max (const T &a, const T &b) |
Method giving the maximum of two elements. More... | |
static double | sqr (const double &x) |
Method giving the square of a double. More... | |
static double | mod2pi (const double &theta) |
Method giving the angle between - ![]() ![]() ![]() | |
static double | rad2deg (const double &theta) |
Method transforming an angle in radian, ![]() ![]() | |
static double | deg2rad (const double &theta) |
Method transforming an angle in degree, ![]() ![]() | |
static bool | isPositive (const double &x) |
Method telling whether a double is strictly positive. More... | |
static bool | isNegative (const double &x) |
Method telling whether a double is strictly negative. More... | |
static bool | isZero (const double &x) |
Method comparing a double to zero. More... | |
static int | sign (const double &x) |
Method giving the sign of a double. More... | |
![]() | |
virtual int | algDimension () const |
Description method for algebraic vectors, giving the dimension of the containing space (default is zero). More... | |
virtual double | algCoord (const int) const |
Description method for algebraic vectors, giving coordinate of given index for this vector. More... | |
virtual void | algWriteTo (ostream &O) const |
Description method for algebraic vectors, writing this vector in a given output stream: coordinates for each dimension are written, between paranthesis and separated by commas. More... | |
![]() | |
ostream & | operator<< (ostream &O, const iSeeML::Object &o) |
Modification method, writing a description of a ISeeML object in a given output stream. More... | |
This class defines basic 2D geometric objects, from which compound geometric objects are built.