diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-01-18 09:11:04 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-01-18 09:11:04 +0000 |
| commit | f12d6a57fe5cc18be5afd164061578d8e00d75ce (patch) | |
| tree | 7fd1a501a8a545fbf2326ead48cd041928699c5e /src/2geom/point.cpp | |
| parent | update to trunk (diff) | |
| parent | Fix missing embeded image condition, kindly caught by suv in bug #1270334 (diff) | |
| download | inkscape-f12d6a57fe5cc18be5afd164061578d8e00d75ce.tar.gz inkscape-f12d6a57fe5cc18be5afd164061578d8e00d75ce.zip | |
update to trunk
(bzr r11950.1.235)
Diffstat (limited to 'src/2geom/point.cpp')
| -rw-r--r-- | src/2geom/point.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/2geom/point.cpp b/src/2geom/point.cpp index 3ad9dd1fd..b0b00b5da 100644 --- a/src/2geom/point.cpp +++ b/src/2geom/point.cpp @@ -57,11 +57,10 @@ namespace Geom { * @code p += q; p -= q; r = p + q; r = p - q; p *= s; p /= s; q = p * s; q = s * p; q = p / s; - p *= m; p /= m; q = p * m; q = m * p; q = p / m; + p *= m; q = p * m; q = m * p; @endcode * It is possible to left-multiply a point by a matrix, even though mathematically speaking * this is undefined. The result is a point identical to that obtained by right-multiplying. - * Division of points by matrices is defined as multiplication by their inverses. * * @ingroup Primitives */ @@ -127,7 +126,7 @@ Coord L1(Point const &p) { } /** @brief Compute the infinity norm (maximum norm) of @a p. - * @return \f$\max(p_X, p_Y)\f$ + * @return \f$\max(|p_X|, |p_Y|)\f$ * @relates Point */ Coord LInfty(Point const &p) { Coord const a(fabs(p[0])); @@ -231,7 +230,7 @@ Point constrain_angle(Point const &A, Point const &B, unsigned int n, Point cons return A + dir * Rotate(k * 2.0 * M_PI / (double)n) * L2(diff); } -} //namespace Geom +} // end namespace Geom /* Local Variables: |
