I have a polygon, I want to split it into three equal parts, I have a scenario as below:
- User must select a vertex on polygon
- User must add direction to start split on
- Based on the node and direction we must select a line segment on polygon
I have no idea how to go farther and then do what to split that line segment. In fact here are some problems:
- How we can find if the line segment is dividable into for example 3 parts? how we van determine the length of each segments on line to divide?
- If line segment changes its direction what will happen?
Can someone give me some hints how to reach a flowchart on this?
I need the methods to do it,algorithm and things like that, I use .netTopologysuit in C# .net