Property | Type | Description | |
---|---|---|---|
x | double | ||
y | double |
Method | Description | |
---|---|---|
Distance ( |
||
DistanceSq ( |
||
GetDistance ( |
||
GetDistanceSquared ( |
||
GetDotProduct ( |
||
GetPerp ( ) : |
||
GetReverse ( ) : |
||
GetSign ( |
||
InsideRegion ( |
||
InsideRegion ( |
||
Normalize ( ) : void | ||
NotInsideRegion ( |
||
Reflect ( |
||
Sign ( |
||
ToPoint ( ) : |
||
Truncate ( double max ) : void | ||
Vec2DDistance ( |
||
Vec2DDistanceSq ( |
||
Vec2DLength ( |
||
Vec2DLengthSq ( |
||
Vec2DNormalize ( |
||
Vector2D ( ) : System | ||
Vector2D ( |
||
Vector2D ( double a, double b ) : System | ||
WrapAround ( |
||
Zero ( ) : void | ||
isSecondInFOVOfFirst ( |
||
operator ( ) : |
public GetDistance ( |
||
vector | ||
return | double |
public GetDistanceSquared ( |
||
vector | ||
return | double |
public GetDotProduct ( |
||
v2 | ||
return | double |
public static InsideRegion ( |
||
p | ||
top_left | ||
bot_rgt | ||
return | bool |
public static InsideRegion ( |
||
p | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
return | bool |
public static NotInsideRegion ( |
||
p | ||
top_left | ||
bot_rgt | ||
return | bool |
public static Vec2DDistance ( |
||
v1 | ||
v2 | ||
return | double |
public static Vec2DDistanceSq ( |
||
v1 | ||
v2 | ||
return | double |
public static Vec2DLength ( |
||
v | ||
return | double |
public static Vec2DLengthSq ( |
||
v | ||
return | double |
public static Vec2DNormalize ( |
||
v | ||
return |
public Vector2D ( double a, double b ) : System | ||
a | double | |
b | double | |
return | System |
public static WrapAround ( |
||
pos | ||
MaxX | int | |
MaxY | int | |
return | void |
public static isSecondInFOVOfFirst ( |
||
posFirst | ||
facingFirst | ||
posSecond | ||
fov | double | |
return | bool |