Enum Distance.Types
Enum representing Distance types. Each Distance instance has a Type field which contains the corresponding value from this enum. Useful for easy mapping of Distance types to a primitive type (for cases like a switch statement).
Namespace: SadRogue.Primitives
Assembly: TheSadRogue.Primitives.dll
Syntax
public enum Distance.Types
Fields
| Name | Description |
|---|---|
| Chebyshev | Enum type for Chebyshev. |
| Euclidean | Enum type for Euclidean. |
| Manhattan | Enum type for Manhattan. |