draw outline for some connected lines

感情迁移 提交于 2019-11-26 23:13:05

most problem cases are solved by translation vectors intersection check

  • black is the original line/curve whatever ...
  • gray is translation vector (normal to black and size = outline distance)
  • blue is outline

if the translation vectors not intersect then it is most likely all OK but if they do then just do something like this:

  1. cut off these points from outline

  2. or create some singular point from these intersections

    it is more tricky but can avoid some problem cases from bullet #1

Also sometimes help if there is bigger density of control points

Hope it helps a little...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!