![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
几何知识
文章平均质量分 69
ECJTU_ACM_余伟伟
你不逼自己一把你永远都不知道自己有多优秀....只有经历了一些事你才会懂得好好珍惜眼前的时光
展开
-
atan函数与atan2函数的一点区别
atan函数与atan2函数的一点区别 2011-09-23 09:16 5462人阅读 评论(3) 收藏 举报 float atan 和 atan2 都是求反正切函数,如:有两个点 point(x1,y1), 和 point(x2,y2); 那么这两个点形成的斜率的角度计算方法分别是: float angle = atan( (y2-y1)/(x2-x1)转载 2014-08-01 15:29:22 · 1668 阅读 · 1 评论 -
任意三角形外界圆的圆心和半径
/** 处理:如三点共线,则返回false;否则,返回true,并将计算得到的圆心与半径存放在center和radius众返回。 */ bool triangleCircle(const Point& p1,const Point& p2,const Point& p3,Point ¢er,double &radius) { //检查三点是否共线 if( isThreePoi原创 2014-08-02 19:20:21 · 1615 阅读 · 0 评论