17 Homogr HT1( imsize/2, imsize/2 );
18 Homogr HT2( -imsize/2, -imsize/2 );
26 for(
int i=0; i<nbim; i++ )
33 std::ostringstream oss;
34 oss <<
"showcase16_" << std::setfill(
'0') << std::setw(2) << i <<
".svg";
35 im.write( oss.str() );
#define M_PI
Definition: homog2d.hpp:235
A 2D homography, defining a planar transformation.
Definition: homog2d.hpp:369
void draw(img::Image< img::SvgImage > &im, img::DrawParams dp=img::DrawParams()) const
SVG draw function.
Definition: homog2d.hpp:4414
Draw parameters, independent of back-end library.
Definition: homog2d.hpp:514
Line2d li
Definition: homog2d_test.cpp:4035
Point2d_< HOMOG2D_INUMTYPE > Point2d
Default point type, uses double as numerical type.
Definition: homog2d.hpp:12379
img::Image< img::SvgImage > im(300, 400)
Opaque data structure, will hold the image type, depending on back-end library. This type is the one ...
Definition: homog2d.hpp:712
int side(const Point2d_< FPT1 > &pt, const Line2d_< FPT2 > &li)
Free function, returns -1 or +1 depending on the side of pt, related to li.
Definition: homog2d.hpp:9829
Base class, will be instanciated as Point2d_ or Line2d_.
Definition: homog2d.hpp:365