|07-16-2007, 05:02 PM||#1|
Join Date: Jul 2007
automatic number of edges on polyline
I was having a problem rendering some polylines. The number of edges is manually set so it does not take into account the distance between the edges.
My problem was that in some cases if two edges were very distant the line linking the two edges crossed the globe.
I made a few changes and now the number of intervals is dependent of the distance between two edges.
basically if do a LatLon.sphericalDistance(initalPoint, finalPoint) and use the degrees to dictate the number of points between the edges.
Maybe such a feature can be incorporated into the release 0.3 of wwd
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|WW1.3.2-Plugin: Layer Edit||canosso||Add-ons & Scripts||21||02-27-2010 04:37 AM|
|convert lat/lon forms, SPC, Metes, make path||Tom Moran||Add-on & Script Development||21||03-06-2006 12:02 AM|