 | DirectionIsCardinalDirection Method (DirectionType) |
Checks if the specified direction is a cardinal direction (i.e. N, E, S or W).
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static bool IsCardinalDirection(
DirectionType direction
)
Public Shared Function IsCardinalDirection (
direction As DirectionType
) As Boolean
public:
static bool IsCardinalDirection(
DirectionType direction
)
static member IsCardinalDirection :
direction : DirectionType -> bool
Parameters
- direction
- Type: Slash.Math.UtilsDirectionType
Direction to check.
Return Value
Type:
BooleanTrue if the specified direction is a cardinal direction; otherwise, false.
See Also