Revision: 6667 http://sourceforge.net/p/jump-pilot/code/6667 Author: michaudm Date: 2020-12-30 08:18:05 +0000 (Wed, 30 Dec 2020) Log Message: ----------- Add TODO to old classes which can be replaced by JTS classes
Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/algorithm/Densifier.java core/trunk/src/com/vividsolutions/jump/algorithm/LengthSubstring.java core/trunk/src/com/vividsolutions/jump/algorithm/LengthToPoint.java core/trunk/src/com/vividsolutions/jump/algorithm/LocatePoint.java core/trunk/src/com/vividsolutions/jump/algorithm/VertexHausdorffDistance.java Modified: core/trunk/src/com/vividsolutions/jump/algorithm/Densifier.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/algorithm/Densifier.java 2020-12-29 23:50:53 UTC (rev 6666) +++ core/trunk/src/com/vividsolutions/jump/algorithm/Densifier.java 2020-12-30 08:18:05 UTC (rev 6667) @@ -49,6 +49,7 @@ * Inser vertices every x units along linear components of a Geometry. * * @author Michaë Michaud + * TODO should be replaced by JTS Densifier, but JTS does not take care of z value */ public class Densifier { Modified: core/trunk/src/com/vividsolutions/jump/algorithm/LengthSubstring.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/algorithm/LengthSubstring.java 2020-12-29 23:50:53 UTC (rev 6666) +++ core/trunk/src/com/vividsolutions/jump/algorithm/LengthSubstring.java 2020-12-30 08:18:05 UTC (rev 6667) @@ -20,7 +20,8 @@ */ // Martin made a decision to create this duplicate of a class from JCS. // [Jon Aquino 2004-10-25] - //TODO check if it can be replaced by linear referencing package from JTS +//TODO check if it can be replaced by linear referencing package from JTS in +//see org.locationtech.jts.linearref.LengthIndexedLine public class LengthSubstring { public static LineString getSubstring(LineString line, double startLength, Modified: core/trunk/src/com/vividsolutions/jump/algorithm/LengthToPoint.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/algorithm/LengthToPoint.java 2020-12-29 23:50:53 UTC (rev 6666) +++ core/trunk/src/com/vividsolutions/jump/algorithm/LengthToPoint.java 2020-12-30 08:18:05 UTC (rev 6667) @@ -8,6 +8,7 @@ //Martin made a decision to create this duplicate of a class from JCS. //[Jon Aquino 2004-10-25] //TODO check if it can be replaced by linear referencing package from JTS +//see org.locationtech.jts.linearref.LengthIndexOfPoint public class LengthToPoint { public static double lengthAlongSegment(LineSegment seg, Coordinate pt) Modified: core/trunk/src/com/vividsolutions/jump/algorithm/LocatePoint.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/algorithm/LocatePoint.java 2020-12-29 23:50:53 UTC (rev 6666) +++ core/trunk/src/com/vividsolutions/jump/algorithm/LocatePoint.java 2020-12-30 08:18:05 UTC (rev 6667) @@ -10,6 +10,7 @@ * of a point a given length along a line. */ //TODO check if it can be replaced by linear referencing package from JTS +//see org.locationtech.jts.linearref.LinearLocation public class LocatePoint { /** Modified: core/trunk/src/com/vividsolutions/jump/algorithm/VertexHausdorffDistance.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/algorithm/VertexHausdorffDistance.java 2020-12-29 23:50:53 UTC (rev 6666) +++ core/trunk/src/com/vividsolutions/jump/algorithm/VertexHausdorffDistance.java 2020-12-30 08:18:05 UTC (rev 6667) @@ -49,6 +49,7 @@ * and roughly equal in length - just what is needed for line matching. * </b> */ +// TODO replace by org.locationtech.jts.algorithm.distance.DiscreteHausdorffDistance public class VertexHausdorffDistance { _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel