Click or drag to resize
DirectionIsCardinalDirection Method (DirectionType)
Checks if the specified direction is a cardinal direction (i.e. N, E, S or W).

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static bool IsCardinalDirection(
	DirectionType direction
)

Parameters

direction
Type: Slash.Math.UtilsDirectionType
Direction to check.

Return Value

Type: Boolean
True if the specified direction is a cardinal direction; otherwise, false.
See Also