Version: 13.0

    Show / Hide Table of Contents

    Struct Range

    Implements
    System.IEquatable<Range>
    Inherited Members
    System.ValueType.ToString()
    Namespace: SMT.MastaAPI.MathUtility
    Assembly: SMT.MastaAPI.13.0.dll
    Syntax
    [Serializable]
    public readonly struct Range : IEquatable<Range>

    Constructors

    Range(Double, Double)

    Declaration
    public Range(double min, double max)
    Parameters
    Type Name Description
    System.Double min
    System.Double max

    Fields

    Max

    Declaration
    public readonly double Max
    Field Value
    Type Description
    System.Double

    Min

    Declaration
    public readonly double Min
    Field Value
    Type Description
    System.Double

    Methods

    Equals(Range)

    Declaration
    public readonly bool Equals(Range other)
    Parameters
    Type Name Description
    Range other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override readonly bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    Equality(Range, Range)

    Declaration
    [Pure]
    public static bool operator ==(Range left, Range right)
    Parameters
    Type Name Description
    Range left
    Range right
    Returns
    Type Description
    System.Boolean

    Inequality(Range, Range)

    Declaration
    [Pure]
    public static bool operator !=(Range left, Range right)
    Parameters
    Type Name Description
    Range left
    Range right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>
    Back to top