Hello, ThinkGeo team!
An interesting result emerged when using the GetShortestLineTo.
For example, we have the code:
var lineShape = new LineShape(new Vertex[] { new Vertex(37.52105859400006d, 55.88712983099645), new Vertex(37.522017519000087, 55.887141257996454) });
var point = new PointShape(new Vertex(37.521466244141578, 55.887299676310768));
var perp = lineShape.GetShortestLineTo(point, GeographyUnit.DecimalDegree);
And the resulting line consists of 1002 points. Strangely it turns out to be 2 :)
What's problem?
003_002_001_Error.jpg (40.6 KB)