You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by mi...@apache.org on 2020/05/12 18:38:08 UTC
[incubator-streampipes-extensions] 11/17: trajectory class misc
changes (spelling javadoc)
This is an automated email from the ASF dual-hosted git repository.
micklich pushed a commit to branch feature/trajectory
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit c85b086074a67773dbb5528ee1e5d9255cfe0702
Author: micklich <fl...@disy.net>
AuthorDate: Wed Apr 29 16:17:27 2020 +0200
trajectory class misc changes (spelling javadoc)
---
.../processors/geo/jvm/jts/helper/SpTrajectoryBuilder.java | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/helper/SpTrajectoryBuilder.java b/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/helper/SpTrajectoryBuilder.java
index 4c9cc0d..7f6b48b 100644
--- a/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/helper/SpTrajectoryBuilder.java
+++ b/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/helper/SpTrajectoryBuilder.java
@@ -18,7 +18,6 @@
package org.apache.streampipes.processors.geo.jvm.jts.helper;
-
import org.locationtech.jts.geom.*;
public class SpTrajectoryBuilder {
@@ -29,7 +28,7 @@ public class SpTrajectoryBuilder {
/**
* Constructor of SpTrajectory
- * @param numberSubPoints Integer number of allowed subpoints of the trajectory
+ * @param numberSubPoints Integer number of allowed sub-points of the trajectory
* @param description Text Description of the single Trajectory
*/
public SpTrajectoryBuilder(int numberSubPoints, String description) {
@@ -41,17 +40,16 @@ public class SpTrajectoryBuilder {
/**
* getter method for description text
- * @return
+ * @return description text
*/
public String getDescription() {
return description;
}
/**
- * Adds a Point to the trajectory object and also handle removement depending on the
- * number of choosen Subpoints
- * @param point Point geometry
- * @param m stores an extra integer to the subpoint of a trajectory
+ * Adds a Point to the trajectory object and also handle removes old point if {link #numberSubPoints} threshold is exceeded.
+ * @param point {@link org.locationtech.jts.geom.Point}
+ * @param m stores an extra integer to the sub-point of a trajectory {@link org.locationtech.jts.geom.CoordinateXYM#M}
*/
public void addPointToTrajectory(Point point, Integer m) {
coordinateList.add(createSingleTrajectoryCoordinate(point, m));