SyFi 0.3
SyFi::Line Class Reference

#include <Polygon.h>

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

List of all members.

Public Member Functions

 Line ()
 Line (GiNaC::ex x0, GiNaC::ex x1, const std::string &subscript="")
 Line (const Line &line)
virtual ~Line ()
virtual unsigned int no_space_dim () const
GiNaC::ex a () const
GiNaC::ex b () const
virtual GiNaC::ex repr (Repr_format format=SUBS_PERFORMED) const
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 Linecopy () const
def __init__
def no_space_dim
def a
def b
def repr
def str
def integrate
def copy

Public Attributes

 this

Protected Attributes

GiNaC::ex a_
GiNaC::ex b_

Static Private Attributes

dictionary __swig_setmethods__ = {}
tuple __setattr__ = lambdaself,name,value:_swig_setattr(self, Line, name, value)
dictionary __swig_getmethods__ = {}
tuple __getattr__ = lambdaself,name:_swig_getattr(self, Line, name)
 __repr__ = _swig_repr
 __swig_destroy__ = _SyFi.delete_Line
 __del__ = lambdaself:None;

Detailed Description

Proxy of C++ SyFi::Line class

Definition at line 56 of file Polygon.h.


Constructor & Destructor Documentation

SyFi::Line::Line ( ) [inline]

Definition at line 63 of file Polygon.h.

Referenced by copy().

{}
SyFi::Line::Line ( GiNaC::ex  x0,
GiNaC::ex  x1,
const std::string &  subscript = "" 
)
SyFi::Line::Line ( const Line line)

Definition at line 115 of file Polygon.cpp.

                                  : Polygon(line), a_(line.a_), b_(line.b_)
        {
        }
virtual SyFi::Line::~Line ( ) [inline, virtual]

Definition at line 67 of file Polygon.h.

{}
def SyFi::Line::__init__ (   self,
  args 
)
__init__(self) -> Line
__init__(self, GiNaC::ex x0, GiNaC::ex x1, string subscript = "") -> Line
__init__(self, GiNaC::ex x0, GiNaC::ex x1) -> Line
__init__(self, Line line) -> Line

Reimplemented in SyFi::ReferenceLine.

Definition at line 1440 of file SyFi.py.

01440                              : 
01441         """
01442         __init__(self) -> Line
01443         __init__(self, GiNaC::ex x0, GiNaC::ex x1, string subscript = "") -> Line
01444         __init__(self, GiNaC::ex x0, GiNaC::ex x1) -> Line
01445         __init__(self, Line line) -> Line
01446         """
01447         this = _SyFi.new_Line(*args)
01448         try: self.this.append(this)
01449         except: self.this = this

Member Function Documentation

ex SyFi::Line::a ( ) const

Definition at line 121 of file Polygon.cpp.

References a_.

Referenced by _wrap_Line_a().

        {
                return a_;
        }
def SyFi::Line::a (   self)
a(self) -> GiNaC::ex

Definition at line 1456 of file SyFi.py.

01457                :
01458         """a(self) -> GiNaC::ex"""
01459         return _SyFi.Line_a(self)

def SyFi::Line::b (   self)
b(self) -> GiNaC::ex

Definition at line 1460 of file SyFi.py.

01461                :
01462         """b(self) -> GiNaC::ex"""
01463         return _SyFi.Line_b(self)

ex SyFi::Line::b ( ) const

Definition at line 126 of file Polygon.cpp.

References b_.

Referenced by _wrap_Line_b().

        {
                return b_;
        }
Line * SyFi::Line::copy ( ) const [virtual]

Implements SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 348 of file Polygon.cpp.

References Line().

Referenced by SyFi::SpaceTimeDomain::SpaceTimeDomain().

        {
                return new Line(*this);
        }
def SyFi::Line::copy (   self)
copy(self) -> Line

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1484 of file SyFi.py.

01485                   :
01486         """copy(self) -> Line"""
01487         return _SyFi.Line_copy(self)

def SyFi::Line::integrate (   self,
  args 
)
integrate(self, GiNaC::ex f, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex
integrate(self, GiNaC::ex f) -> GiNaC::ex

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1477 of file SyFi.py.

01478                               :
01479         """
01480         integrate(self, GiNaC::ex f, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex
01481         integrate(self, GiNaC::ex f) -> GiNaC::ex
01482         """
01483         return _SyFi.Line_integrate(self, *args)

def SyFi::Line::no_space_dim (   self)
no_space_dim(self) -> unsigned int

Reimplemented from SyFi::Polygon.

Definition at line 1452 of file SyFi.py.

01453                           :
01454         """no_space_dim(self) -> unsigned int"""
01455         return _SyFi.Line_no_space_dim(self)

unsigned int SyFi::Line::no_space_dim ( ) const [virtual]

Implements SyFi::Polygon.

Definition at line 119 of file Polygon.cpp.

{ return 1; }
ex SyFi::Line::repr ( Repr_format  format = SUBS_PERFORMED) const [virtual]
virtual GiNaC::ex SyFi::Line::repr ( GiNaC::ex  t,
Repr_format  format = SUBS_PERFORMED 
) const [virtual]

Reimplemented in SyFi::ReferenceLine.

def SyFi::Line::repr (   self,
  args 
)
repr(self, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex
repr(self) -> GiNaC::ex
repr(self, GiNaC::ex t, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex
repr(self, GiNaC::ex t) -> GiNaC::ex

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1464 of file SyFi.py.

01465                          :
01466         """
01467         repr(self, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex
01468         repr(self) -> GiNaC::ex
01469         repr(self, GiNaC::ex t, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex
01470         repr(self, GiNaC::ex t) -> GiNaC::ex
01471         """
01472         return _SyFi.Line_repr(self, *args)

def SyFi::Line::str (   self)
str(self) -> string

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1473 of file SyFi.py.

01474                  :
01475         """str(self) -> string"""
01476         return _SyFi.Line_str(self)

const string SyFi::Line::str ( ) const [virtual]

Implements SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 219 of file Polygon.cpp.

References run::s.

Referenced by _wrap_Line_str().

        {
                std::ostringstream s;
                //    s <<"Line("<<p[0]<<","<<p[1]<<")";
                // FIXME: would like to use the above code, but this causes a strange crash in Python
                s <<"Line";
                return s.str();
        }

Member Data Documentation

SyFi::Line::__del__ = lambdaself:None; [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1451 of file SyFi.py.

tuple SyFi::Line::__getattr__ = lambdaself,name:_swig_getattr(self, Line, name) [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1438 of file SyFi.py.

SyFi::Line::__repr__ = _swig_repr [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1439 of file SyFi.py.

tuple SyFi::Line::__setattr__ = lambdaself,name,value:_swig_setattr(self, Line, name, value) [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1435 of file SyFi.py.

SyFi::Line::__swig_destroy__ = _SyFi.delete_Line [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1450 of file SyFi.py.

dictionary SyFi::Line::__swig_getmethods__ = {} [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1436 of file SyFi.py.

dictionary SyFi::Line::__swig_setmethods__ = {} [static, private]

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1433 of file SyFi.py.

GiNaC::ex SyFi::Line::a_ [protected]

Definition at line 59 of file Polygon.h.

Referenced by a().

GiNaC::ex SyFi::Line::b_ [protected]

Definition at line 60 of file Polygon.h.

Referenced by b().

Reimplemented in SyFi::ReferenceLine.

Definition at line 1445 of file SyFi.py.


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