Show / Hide Table of Contents

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.

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<Distance.Types, TProperty>(Distance.Types, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>)
PropertyChangedEventHelpers.SafelySetProperty<Distance.Types, TProperty>(Distance.Types, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>, EventHandler<ValueChangedEventArgs<TProperty>>)
  • View Source
In this article
Back to top Generated by DocFX