Loop.SixLabors.Shapes (nuget): Polygon manipulation/merging and interrogation library.              It's a fully managed netstandard library so should work everywhere.
Keywords: polygon|rectangle|point|in|complex|polygons|shape|2D