#include <Polygon.h>
Inheritance diagram for ReferenceLine:
Public Member Functions | |
ReferenceLine (string subscript="") | |
~ReferenceLine () | |
virtual int | no_vertices () |
virtual ex | vertex (int i) |
virtual ex | repr (ex t, Repr_format format=SUBS_PERFORMED) |
ex | a () |
ex | b () |
virtual string | str () |
virtual ex | integrate (ex f, Repr_format format=SUBS_PERFORMED) |
Definition at line 72 of file Polygon.h.
|
Definition at line 182 of file Polygon.cpp. References Polygon::subscript. 00182 { 00183 subscript = subscript_; 00184 ex x0 = lst(0,0,0); 00185 ex x1 = lst(1,0,0); 00186 00187 00188 }
|
|
Definition at line 75 of file Polygon.h.
|
|
Definition at line 196 of file Polygon.cpp.
|
|
Definition at line 200 of file Polygon.cpp.
|
|
Reimplemented from Line. Definition at line 217 of file Polygon.cpp. References x. 00217 { 00218 ex intf = integral(x,0,1,f); 00219 intf = eval_integ(intf); 00220 return intf; 00221 }
|
|
Reimplemented from Line. Definition at line 190 of file Polygon.cpp.
|
|
Reimplemented from Line. Definition at line 204 of file Polygon.cpp.
|
|
Reimplemented from Line. Definition at line 210 of file Polygon.cpp. 00210 { 00211 std::ostringstream s; 00212 // s <<"ReferenceLine("<<p[0]<<","<<p[1]<<")"<<endl; 00213 s <<"ReferenceLine"; // <<endl; 00214 return s.str(); 00215 }
|
|
Reimplemented from Line. Definition at line 192 of file Polygon.cpp. References Polygon::p. 00192 { 00193 return p[i]; 00194 }
|