I've used Microsoft's SqlGeometry
from Microsoft.SqlServer.Types in a C# application and was quite happy with the performance. I saw that it's actual functionality is contained in a native library, SqlServerSpatial110.dll (or another number, depending on the SqlServer version it belongs to), since this DLL exposes the common geometry functions like Overlaps
, Centroid
, Buffer
etc.
Is there any chance that I could use that DLL from a C++ application directly, i.e. without going through a managed wrapper (e.g. C++/CLI)? Is there a header file and a lib somewhere that I could use, and maybe some documentation?