proj_pt.cpp revision 46a5ba6dd815c4493b02d23a303829c6aa63bdc3
#define __PROJ_PT_C__
/*
* 3x4 transformation matrix to map points from projective 3-space into the projective plane
*
* Authors:
* Maximilian Albert <Anhalter42@gmx.de>
*
* Copyright (C) 2007 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "proj_pt.h"
#include "svg/stringstream.h"
namespace Proj {
if (!coord_str) {
pt[0] = 0.0;
g_warning ("Coordinate string is empty. Creating default Pt2\n");
return;
}
g_strfreev (coords);
g_warning ("Malformed coordinate string.\n");
return;
}
g_strfreev (coords);
}
void
return;
}
}
}
gchar *
Pt2::coord_string() {
<< pt[2];
}
if (!coord_str) {
pt[0] = 0.0;
g_warning ("Coordinate string is empty. Creating default Pt2\n");
return;
}
g_strfreev (coords);
g_warning ("Malformed coordinate string.\n");
return;
}
}
void
return;
}
gchar *
Pt3::coord_string() {
<< pt[3];
}
} // namespace Proj
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :