Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | |
Результат | Direction |
public GetDistantion ( ushort hx1, ushort hy1, ushort hx2, ushort hy2 ) : uint | ||
hx1 | ushort | |
hy1 | ushort | |
hx2 | ushort | |
hy2 | ushort | |
Результат | 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 | |
Результат | Direction |