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().

00063 {}

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.

00115                                   : Polygon(line), a_(line.a_), b_(line.b_)
00116         {
00117         }

virtual SyFi::Line::~Line (  )  [inline, virtual]

Definition at line 67 of file Polygon.h.

00067 {}


Member Function Documentation

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

def SyFi::Line::a (   self  ) 

a(self) -> GiNaC::ex

Definition at line 1456 of file SyFi.py.

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

ex SyFi::Line::a (  )  const

Definition at line 121 of file Polygon.cpp.

References a_.

Referenced by _wrap_Line_a().

00122         {
00123                 return a_;
00124         }

def SyFi::Line::b (   self  ) 

b(self) -> GiNaC::ex

Definition at line 1460 of file SyFi.py.

01460                :
01461         """b(self) -> GiNaC::ex"""
01462         return _SyFi.Line_b(self)
01463 
    def repr(self, *args):

ex SyFi::Line::b (  )  const

Definition at line 126 of file Polygon.cpp.

References b_.

Referenced by _wrap_Line_b().

00127         {
00128                 return b_;
00129         }

def SyFi::Line::copy (   self  ) 

copy(self) -> Line

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1484 of file SyFi.py.

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

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().

00349         {
00350                 return new Line(*this);
00351         }

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.

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

virtual GiNaC::ex SyFi::Line::integrate ( GiNaC::ex  f,
Repr_format  format = SUBS_PERFORMED 
) [virtual]

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.

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

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

Implements SyFi::Polygon.

Definition at line 119 of file Polygon.cpp.

00119 { return 1; }

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.

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

virtual GiNaC::ex SyFi::Line::repr ( GiNaC::ex  t,
Repr_format  format = SUBS_PERFORMED 
) const [virtual]

Reimplemented in SyFi::ReferenceLine.

ex SyFi::Line::repr ( Repr_format  format = SUBS_PERFORMED  )  const [virtual]

def SyFi::Line::str (   self  ) 

str(self) -> string

Reimplemented from SyFi::Polygon.

Reimplemented in SyFi::ReferenceLine.

Definition at line 1473 of file SyFi.py.

01473                  :
01474         """str(self) -> string"""
01475         return _SyFi.Line_str(self)
01476 
    def integrate(self, *args):

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().

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


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 1449 of file SyFi.py.


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

Generated on Mon Aug 31 16:17:07 2009 for SyFi by  doxygen 1.5.9