Input and Output OperatorsFor the input and output of basic
two-dimensional geometric objects of the floating point kernel
( Remarks: Graphical input and output of for The
#include <LEDA/graphics/window.h>
#include <LEDA/geo/point.h>
int main()
{
leda::window W(400,400);
W.display(leda::window::center, leda::window::center);
leda::point p;
while (W >> p) W << p;
W.screenshot("io_operators");
return 0;
}
|
See also:Basic Data Types for 2D Geometry Manual Pages: |