ThinkGeo.com    |     Documentation    |     Premium Support

Shape from two points and a know curvature

Hello,


I'm trying to figure out how to create a series of line segments from two know points and a curvature.


Is this possible?


Thanks in advance...


Dan


 



Dan,


Thanks for your post!
 
I am afraid not very clear about your requirement.
 
If given 2 points, you want to create a LineShape based on it that was very easy, try adding those points into the target LineShape .
 

LineShape lineShape1 = new LineShape();
lineShape1.Vertices.Add(vertex1);
lineShape1.Vertices.Add(vertex2);

 

You can apply this logic to create a line shape based on a curvature, while you have to know each point you want to add from the curvature.
 
Let me know if I am misunderstood.
 
Thanks.
 
Yale