Jeff Dege
Jeff Dege

Reputation: 11720

Where is NetTopologySuite.Algorithm.SimplePointInRing()?

We're moving a project from .NET 4.5.2 to .NET 5.0. In the process, this means moving a dependency on the NetTopologySuite NuGet package from v1.14.0 to v2.2.0.

In v1.14.0, there are a number of places where we're using the NetTopologySuite.Algorithm.SimplePointInRing class.

In v2.2.0, there is no SimplePointInRing class in the NetTopologySuite.Algorithm. Or at least, not in any of the NuGet Packages we've installed:

Has it been deprecated? Removed? Moved to a new NuGet package?

Upvotes: 2

Views: 113

Answers (1)

Bart Simons
Bart Simons

Reputation: 111

Seems like it was removed in v1.15.0 because v1.15.0-pre2 still had a SimplePointInRing class in that namespace.

Since things have changed a bit, the closest "replacement" I have found so far is the LocatePointInRing(Coordinate p, CoordinateSequence ring) method inside the NetTopologySuite.Tests.NUnit.Algorithm namespace.

Upvotes: 1

Related Questions