elm-geometry icon indicating copy to clipboard operation
elm-geometry copied to clipboard

Add angle-between-three-points function

Open ianmackenzie opened this issue 3 years ago • 0 comments

Something like

Point2d.angleFrom :
    Point2d units coordinates
    -> Point2d units coordinates
    -> Point2d units coordinates
    -> Angle

and maybe also

Point3d.angleFrom :
    Point3d units coordinates
    -> Point3d units coordinates
    -> Point3d units coordinates
    -> Angle

where you give the start point, corner point and end point in order.

ianmackenzie avatar Mar 30 '21 17:03 ianmackenzie