From bedde1f8a65c928c2746a5c9edc4e3479fa492fd Mon Sep 17 00:00:00 2001 From: strk Date: Wed, 7 Sep 2016 13:06:53 +0000 Subject: [PATCH] Fix documentation typos. Courtesy of Todd Trimble git-svn-id: http://svn.osgeo.org/geos/trunk@4257 5242fede-7e19-0410-aef8-94bd7d2200fb --- include/geos/geom/Geometry.h | 2 +- include/geos/geom/LineString.h | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/geos/geom/Geometry.h b/include/geos/geom/Geometry.h index 14902b3f..f3c21921 100644 --- a/include/geos/geom/Geometry.h +++ b/include/geos/geom/Geometry.h @@ -656,7 +656,7 @@ public: /** * Performs an operation on the coordinates in this Geometry's - * CoordinateSequences.s + * CoordinateSequences. * If the filter reports that a coordinate value has been changed, * {@link #geometryChanged} will be called automatically. * diff --git a/include/geos/geom/LineString.h b/include/geos/geom/LineString.h index 2d0f7a50..3df015a5 100644 --- a/include/geos/geom/LineString.h +++ b/include/geos/geom/LineString.h @@ -60,12 +60,12 @@ namespace geom { // geos::geom * pair of consecutive vertices. * Consecutive vertices may be equal. * The line segments in the line may intersect each other (in other words, - * the linestring may "curl back" in itself and self-intersect. + * the linestring may "curl back" in itself and self-intersect). * Linestrings with exactly two identical points are invalid. * * A linestring must have either 0 or 2 or more points. * If these conditions are not met, the constructors throw - * an {@link IllegalArgumentException} + * an {@link IllegalArgumentException}. */ class GEOS_DLL LineString: public virtual Geometry, public Lineal { @@ -79,10 +79,11 @@ public: virtual ~LineString(); /** - * Creates and returns a full copy of this {@link LineString} object. - * (including all coordinates contained by it). + * \brief + * Creates and returns a full copy of this {@link LineString} object + * (including all coordinates contained by it) * - * @return a clone of this instance + * @return A clone of this instance */ virtual Geometry *clone() const; @@ -164,7 +165,7 @@ public: * Normalizes a LineString. * * A normalized linestring - * has the first point which is not equal to it's reflected point + * has the first point which is not equal to its reflected point * less than the reflected point. */ virtual void normalize(); @@ -178,7 +179,7 @@ public: /** * Creates a LineString whose coordinates are in the reverse - * order of this objects + * order of this object's * * @return a LineString with coordinates in the reverse order */ -- 2.11.4.GIT