We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法正确计算非简单多边形(有自交)的面积
from cyaron import * p = Polygon( [(-3, 4), (1.5, 3), (-6, -2), (-3, -4)] ) print(p.area()) # output: 3.0
如图,显然面积为 $15$。
即使这种情形在应用时不常见,是否应在文档中警告,或者在代码逻辑中加入判断?
The text was updated successfully, but these errors were encountered:
这啥屎山啊
Sorry, something went wrong.
不急
No branches or pull requests
无法正确计算非简单多边形(有自交)的面积
如图,显然面积为$15$ 。
即使这种情形在应用时不常见,是否应在文档中警告,或者在代码逻辑中加入判断?
The text was updated successfully, but these errors were encountered: