diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-09-06 17:35:51 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-09-06 17:35:51 +0000 |
| commit | 7a951d2db3f5694d3a836f90c9465ebe83aa523e (patch) | |
| tree | ba78ddf2db392295a9a69d2a62c566b2c9a0fa16 /src/2geom/conicsec.cpp | |
| parent | Add listeners for when shapes used by text are changed. (diff) | |
| download | inkscape-7a951d2db3f5694d3a836f90c9465ebe83aa523e.tar.gz inkscape-7a951d2db3f5694d3a836f90c9465ebe83aa523e.zip | |
Update 2geom
Now at
https://gitlab.com/inkscape/lib2geom/commit/5eb3544738724087f3b53e047df5a8ead3549e8b
Fixes
https://bugs.launchpad.net/inkscape/+bug/1525498
and possibly
https://gitlab.com/inkscape/inkscape/issues/194
Diffstat (limited to 'src/2geom/conicsec.cpp')
| -rw-r--r-- | src/2geom/conicsec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/conicsec.cpp b/src/2geom/conicsec.cpp index 1e821c38c..63e622181 100644 --- a/src/2geom/conicsec.cpp +++ b/src/2geom/conicsec.cpp @@ -193,7 +193,7 @@ D2<SBasis> RatQuad::hermite() const { return out; } - std::vector<SBasis> RatQuad::homogenous() const { + std::vector<SBasis> RatQuad::homogeneous() const { std::vector<SBasis> res(3, SBasis()); Bezier xt(P[0][0], P[1][0]*w, P[2][0]); bezier_to_sbasis(res[0],xt); @@ -549,7 +549,7 @@ xAx xAx::operator*(double const &b) const { RatQuad rq = RatQuad::fromPointsTangents(A, rot90(dA), B, C, rot90(dC)); return rq; - //std::vector<SBasis> hrq = rq.homogenous(); + //std::vector<SBasis> hrq = rq.homogeneous(); /*SBasis vertex_poly = evaluate_at(hrq[0], hrq[1], hrq[2]); std::vector<double> rts = roots(vertex_poly); for(unsigned i = 0; i < rts.size(); i++) { |
