I am quite sure there is a function in NTS that actually gets us a point at a distance along a line starting at first vertex. I am using NetTopologySuite version 1.12.1.
In Shapely, the python version of JTS, it is quite simple to use
>>> LineString([(0, 0), (0, 1), (1, 1)]).interpolate(0.75, normalized=True).wkt
'POINT (0.5000000000000000 1.0000000000000000)'
I am trying to do the same thing using NTS but i hightly doubt they could be using a jargon word for this. I tried LinearReferencing namespace, but could not find a suitable method.
Does anyone have idea on this?
Best Answer
PointAlongSegmentByFraction(Coordinate p0, Coordinate p1, double fraction)
in LinearLocation.cs