资 源 简 介
该判断多边形点时钟排列方向,
非常准确(不准确的还没有遇到过,快3年了)。
该函数用到的相关函数都在文档中:
1.PtoLDistance-点到直线的距离;
2.CalcPolygonRect-计算多边形外接矩形;
3.CalcSegmentRect-计算线段外接矩形;
4.Distance-计算两点距离;
5.ISZEROA-判断数值是否为零;
该函数数据类型为Windows的POINT,使用了标准模板vector-The polygon points to determine the direction of the clock with very accurate (inaccurate, not yet encountered, fast 3 years). The function of the correlation function used in the document: 1.PtoLDistance-point to the straight-line distance 2.CalcPolygonRect-calculated external rectangular polygon 3.CalcSegmentRect-computing segment external rectangle 4.Distance-computing two distance 5 . ISZEROA-judge whether the value is zero the function data type for the Windows-POINT, using the standard template vector