private double PointToAngle(Point AOrigin, Point APoint)
{
if (APoint.X == AOrigin.X)
if (APoin
资 源 简 介
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
{