Méthode | Description | |
---|---|---|
Distance ( float x1, float y1, float x2, float y2 ) : float | ||
GetDirection ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy ) : Direction | ||
GetDistantion ( ushort hx1, ushort hy1, ushort hx2, ushort hy2 ) : uint | ||
GetOffsetDir ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float offset ) : Direction |
Méthode | Description | |
---|---|---|
Global_GetDirection ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy ) : byte | ||
Global_GetDistantion ( ushort hx1, ushort hy1, ushort hx2, ushort hy2 ) : uint | ||
Global_GetOffsetDir ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float offset ) : byte |
public Distance ( float x1, float y1, float x2, float y2 ) : float | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
Résultat | float |
public GetDirection ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy ) : Direction | ||
from_hx | ushort | |
from_hy | ushort | |
to_hx | ushort | |
to_hy | ushort | |
Résultat | Direction |
public GetDistantion ( ushort hx1, ushort hy1, ushort hx2, ushort hy2 ) : uint | ||
hx1 | ushort | |
hy1 | ushort | |
hx2 | ushort | |
hy2 | ushort | |
Résultat | uint |
public GetOffsetDir ( ushort from_hx, ushort from_hy, ushort to_hx, ushort to_hy, float offset ) : Direction | ||
from_hx | ushort | |
from_hy | ushort | |
to_hx | ushort | |
to_hy | ushort | |
offset | float | |
Résultat | Direction |