SyFi  0.3
SyFi::ReferenceLine Class Reference

#include <Polygon.h>

Inheritance diagram for SyFi::ReferenceLine:
SyFi::Line SyFi::Polygon

List of all members.

Public Member Functions

 ReferenceLine (const std::string &subscript="")
 ReferenceLine (const ReferenceLine &line)
virtual ~ReferenceLine ()
virtual GiNaC::ex repr (GiNaC::ex t, Repr_format format=SUBS_PERFORMED) const
virtual const std::string str () const
virtual GiNaC::ex integrate (GiNaC::ex f, Repr_format format=SUBS_PERFORMED)
virtual ReferenceLinecopy () const

Detailed Description

Definition at line 96 of file Polygon.h.


Constructor & Destructor Documentation

SyFi::ReferenceLine::ReferenceLine ( const std::string &  subscript = "")

Referenced by copy().

Definition at line 395 of file Polygon.cpp.

: Line(line) { }
virtual SyFi::ReferenceLine::~ReferenceLine ( ) [inline, virtual]

Definition at line 101 of file Polygon.h.

{}

Member Function Documentation

Reimplemented from SyFi::Line.

Definition at line 419 of file Polygon.cpp.

References ReferenceLine().

        {
                return new ReferenceLine(*this);
        }
ex SyFi::ReferenceLine::integrate ( GiNaC::ex  f,
Repr_format  format = SUBS_PERFORMED 
) [virtual]

Reimplemented from SyFi::Line.

Definition at line 412 of file Polygon.cpp.

References SyFi::x.

Referenced by main().

        {
                ex intf = GiNaC::integral(x,0,1,f);
                intf =  eval_integ(intf);
                return intf;
        }
ex SyFi::ReferenceLine::repr ( GiNaC::ex  t,
Repr_format  format = SUBS_PERFORMED 
) const [virtual]

Reimplemented from SyFi::Line.

Definition at line 397 of file Polygon.cpp.

References SyFi::x.

        {
                lst r;
                r = lst( x == t, y == 0, z == 0, t, 0, 1);
                return r;
        }
const string SyFi::ReferenceLine::str ( ) const [virtual]

Reimplemented from SyFi::Line.

Definition at line 404 of file Polygon.cpp.

        {
                std::ostringstream s;
                //    s <<"ReferenceLine("<<p[0]<<","<<p[1]<<")";
                s <<"ReferenceLine";
                return s.str();
        }

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator