private double PointToAngle(Point AOrigin, Point APoint)
{
if (APoint.X == AOrigin.X)
if (APoint.Y > AOrigin.Y)
return Math.PI * 0.5f
else return Math.PI * 1.5f
else if (APoint.Y == AOrigin.Y)
if (APoint.X > AOrigin.X)
return 0
else return Math.PI
else
{
标签:
AOrigin
APoint
Point
PointToAngle
上传时间:
2013-12-18
上传用户:rocketrevenge