Show / Hide Table of Contents

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).

Inheritance
Object
Distance.Types
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

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>)
PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>, EventHandler<ValueChangedEventArgs<TProperty>>)
In This Article
Back to top Generated by DocFX