메소드 | 설명 | |
---|---|---|
GetAngle ( double deltaX, double deltaY ) : double |
Return the angle of the hypotenuse of a triangle with sides defined by deltaX and deltaY.
|
|
GetDistance ( Point p0, Point p1 ) : double |
Return the distance between two points
|
|
ToPoint ( this v ) : Point |
Helper extension method for turning XNA's Vector2 type into a Point
|
public static GetAngle ( double deltaX, double deltaY ) : double | ||
deltaX | double | Change in X. |
deltaY | double | Change in Y. |
리턴 | double |
public static GetDistance ( Point p0, Point p1 ) : double | ||
p0 | Point | The first point. |
p1 | Point | The second point. |
리턴 | double |