I’m building an art creation app using Xamarin, and I’m looking for a vector geometry library which I can use to implement both basic things like geometry storage, simple vector operations in 2D, etc. as well as more complex tasks like Bezier curve manipulation.
The Spatial library looks like it’s a perfect fit for my needs, except that I can’t add the NuGet package to the Portable Class Library, as I get an error about it not targeting the PCL. For my purposes, I need the basic vector classes to be accessible from both shared code and from the UI layer implemented per platform.
Interestingly I was able to add the Math.NET Numerics to the PCL, so there’s a precedent for this within the Math.NET ecosystem. Is it the intent that Spatial has platform specific optimizations which would prevent it from operating similarly to Numerics?
Thanks very much!