Class 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 sealed class Types : Enum
Fields
Chebyshev
Enum type for Chebyshev.
Declaration
public const Distance.Types Chebyshev
Field Value
Type | Description |
---|---|
Distance.Types |
Euclidean
Enum type for Euclidean.
Declaration
public const Distance.Types Euclidean
Field Value
Type | Description |
---|---|
Distance.Types |
Manhattan
Enum type for Manhattan.
Declaration
public const Distance.Types Manhattan
Field Value
Type | Description |
---|---|
Distance.Types |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
Int32 |