RintarouTW / fsg

Fast SVG Geometry Builder

Home Page:https://rintaroutw.github.io/fsg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symmetry on line

RintarouTW opened this issue · comments

There's a bug of symmetry-on-line.svg that failed to get correct position after reflection.

when it's int the opposite position of the line, the circle itself is actually flipped. so the index of the intersectPoints should be swapped too. that's the root cause of this geometry malfunction.

Try to recreate this geometry with circle intersection.

just change the line direction from the projected point to the source point. so the direction is not fixed. and solved this issue.