haskell - 如何在给定坐标的codeworld haskell中绘制椭圆
问题描述
我需要在给定两个坐标的情况下画一个椭圆
Ellipse Coords
Coords
但我不知道如何用顶点、共同顶点、焦点和中心点来做到这一点。我基本上对哪些点进入两个坐标感到困惑。到目前为止我有这个
Ellipse (a, b)(c, d) = scaled(solidCircle(1) (???)
Circle (a, b)(c, d) = (solidCircle (r))
where xc = ((c-a)*(c-a))
yc = ((d-b)*(d-b))
r = sqrt(xc +yc)
当我使用缩放圆时,我包括了圆方程。
谢谢!
解决方案
推荐阅读
- database - Dynamics AX 2009 - 性能调整 - 参数嗅探和填充因子
- jpa - Spring-JPA:列表
findDistinctArea() - python - discord.py purge 命令不起作用且没有错误
- excel - PowerQuery 中的 CountIF/出现次数列
- angular - 如何在 TypeScript 库中隐藏 Angular 组件的成员/方法?
- json - JMESPath 如何编写带有多级过滤器的查询?
- discord.py - Discord.py 记录消息
- python - Scipy Compute Mann Whitney U 沿多个切片
- javascript - 如何限制 VueX 商店对某些页面的访问
- c# - C# StreamWriter 在调试文件夹中找不到文件