Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Question about smoothing edges

Think of the corners as 'Bézier control points' rather than as points that the road must pass through (i.e. make them stick out further than the curve you actually want).
https://en.wikipedia.org/wiki/B%C3%A9zier_curve

Am Di., 24. Mai 2022 um 01:22 Uhr schrieb yu tang <herrtangvonjj@xxxxxxxxx>:
Hi Jakob,

Thanks for your reply. It seems we can't anchor some geometry points when smoothing edges. If a corner angle is not sufficiently large, then the related edge will be straightened.

Best,
Yu

Jakob Erdmann <namdre.sumo@xxxxxxxxx> 于2022年5月23日周一 14:49写道:
The following works for me in 1.13.0  (and should work for you too)

1. create an edge
2. use move mode to create a geometry point that forms a corner in that edge (i.e. a 90 degree bend)
3. (optional) create further geometry points
4. (optional) use F10 -> Formats -> opendrive.curve-resolution setting to configure the spacing of added geometry points
5. right-click on edge and select 'smooth shape'



Am Mo., 23. Mai 2022 um 18:53 Uhr schrieb yu tang <herrtangvonjj@xxxxxxxxx>:
Hi all,

I tried to use “smooth edge” to smooth curved edges, but it resulted in directly straightening the edges even though I have set geometry points. Can anybody kindly show me how to address this problem?

Best,
Yu

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top