#include <Polygon.h>
Inheritance diagram for ReferenceLine:
Public Member Functions | |
ReferenceLine (string subscript="") | |
virtual | ~ReferenceLine () |
virtual int | no_vertices () |
virtual GiNaC::ex | vertex (int i) |
virtual GiNaC::ex | repr (GiNaC::ex t, Repr_format format=SUBS_PERFORMED) |
GiNaC::ex | a () |
GiNaC::ex | b () |
virtual string | str () |
virtual GiNaC::ex | integrate (GiNaC::ex f, Repr_format format=SUBS_PERFORMED) |
Definition at line 72 of file Polygon.h.
|
Definition at line 230 of file Polygon.cpp. References Polygon::p, and Polygon::subscript. 00230 { 00231 subscript = subscript_; 00232 GiNaC::ex x0 = GiNaC::lst(0,0,0); 00233 GiNaC::ex x1 = GiNaC::lst(1,0,0); 00234 p.insert(p.end(),x0); 00235 p.insert(p.end(),x1); 00236 00237 00238 }
|
|
Definition at line 75 of file Polygon.h.
|
|
Definition at line 246 of file Polygon.cpp.
|
|
Definition at line 250 of file Polygon.cpp.
|
|
Reimplemented from Line. Definition at line 267 of file Polygon.cpp. References x. Referenced by main(). 00267 { 00268 GiNaC::ex intf = GiNaC::integral(x,0,1,f); 00269 intf = eval_integ(intf); 00270 return intf; 00271 }
|
|
Reimplemented from Line. Definition at line 240 of file Polygon.cpp.
|
|
Reimplemented from Line. Definition at line 254 of file Polygon.cpp. 00254 { 00255 GiNaC::lst r; 00256 r = GiNaC::lst( x == t, y == 0, z == 0, t, 0, 1); 00257 return r; 00258 }
|
|
Reimplemented from Line. Definition at line 260 of file Polygon.cpp. 00260 { 00261 std::ostringstream s; 00262 // s <<"ReferenceLine("<<p[0]<<","<<p[1]<<")"<<endl; 00263 s <<"ReferenceLine"; // <<endl; 00264 return s.str(); 00265 }
|
|
Reimplemented from Line. Definition at line 242 of file Polygon.cpp. References Polygon::p. 00242 { 00243 return p[i]; 00244 }
|