lpe-circle_3pts.cpp revision 9c156f30283337a716441b414a77b1b894a30e58
/** \file
* LPE "Circle through 3 points" implementation
*/
/*
* Authors:
* Maximilian Albert
*
* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
* Copyright (C) Maximilian Albert 2008 <maximilian.albert@gmail.com>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpe-circle_3pts.h"
// You might need to include other 2geom files. You can add them here:
namespace Inkscape {
namespace LivePathEffect {
{
}
{
}
static void _circle3(Geom::Point const &A, Geom::Point const &B, Geom::Point const &C, std::vector<Geom::Path> &path_out) {
using namespace Geom;
Point D = (A + B)/2;
Point E = (B + C)/2;
Point F = E - D;
}
{
// we assume that the path has >= 3 nodes
return path_out;
}
/* ######################## */
} //namespace LivePathEffect
} /* namespace Inkscape */
/*
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 :