Compute the area of intersection between a circle and a triangle?

后端 未结 11 1055
礼貌的吻别
礼貌的吻别 2020-12-02 17:38

How does one compute the area of intersection between a triangle (specified as three (X,Y) pairs) and a circle (X,Y,R)? I\'ve done some searching to no avail. This is for

11条回答
  •  抹茶落季
    2020-12-02 18:16

    How exact do you need to be? If you can approximate the circle with simpler shapes, you can simplify the problem. It wouldn't be hard to model a circle as a set of very narrow triangles meeting at the center, for example.

提交回复
热议问题