C#

Asked • 07/06/19

Check if Polygon is Self-Intersecting?

I have a System.Windows.Shapes.Polygon object, whose layout is determined completely by a series of Points. I need to determine if this Polygon is self intersecting; i.e., if any of the sides of the polygon intersect any of the other sides at a point which is not a vertex. Is there an easy/fast way to compute this?

1 Expert Answer

By:

William S. answered • 04/26/21

Tutor
4.9 (137)

Senior Software Engineer with 15+ Years of Professional C# Experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.