Show / Hide Table of Contents

    Class LockableSpacing

    Variable spacings describe the spacings between a row of bolts, possibly varying between each bolt

    Inheritance
    object
    Lockable
    LockableSpacing
    Inherited Members
    Lockable.Unlock()
    Lockable.GetIsLocked()
    Lockable.ToString()
    Lockable.LockType
    Lockable.IsLocked
    object.GetType()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public sealed class LockableSpacing : Lockable

    Constructors

    LockableSpacing()

    Create a variable spacing with no spacings set

    Declaration
    public LockableSpacing()

    Properties

    AssumedRows

    The number of rows of bolts described by this set of spacings

    Declaration
    public int AssumedRows { get; }
    Property Value
    Type Description
    int

    Count

    Get count of spacings

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    First

    The first spacing

    Declaration
    public double First { get; }
    Property Value
    Type Description
    double

    IsVariable

    True is the spacing list is variable, not uniform

    Declaration
    public bool IsVariable { get; }
    Property Value
    Type Description
    bool

    this[int]

    Get the nth spacing

    Declaration
    public double this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    double

    Last

    The last spacing

    Declaration
    public double Last { get; }
    Property Value
    Type Description
    double

    Max

    The largest spacing

    Declaration
    public double Max { get; }
    Property Value
    Type Description
    double

    Min

    The smallest spacing

    Declaration
    public double Min { get; }
    Property Value
    Type Description
    double

    Methods

    Dispose(bool)

    Variable spacings describe the spacings between a row of bolts, possibly varying between each bolt

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    Lockable.Dispose(bool)

    FromString(string)

    Parse spacings from a user input string

    Declaration
    public void FromString(string value)
    Parameters
    Type Name Description
    string value

    GetEnumerator()

    Get the enumerator object

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    IEnumerator

    GetIsVariable()

    True is the spacing list is variable, not uniform

    Declaration
    public bool GetIsVariable()
    Returns
    Type Description
    bool

    SetAll(double)

    Set all spacings to this same value, keep the same number of rows of bolts

    Declaration
    public void SetAll(double value)
    Parameters
    Type Name Description
    double value

    Operators

    operator +(LockableSpacing, double)

    Variable spacings describe the spacings between a row of bolts, possibly varying between each bolt

    Declaration
    public static LockableSpacing operator +(LockableSpacing lhs, double rhs)
    Parameters
    Type Name Description
    LockableSpacing lhs
    double rhs
    Returns
    Type Description
    LockableSpacing

    operator /(LockableSpacing, double)

    Variable spacings describe the spacings between a row of bolts, possibly varying between each bolt

    Declaration
    public static LockableSpacing operator /(LockableSpacing lhs, double rhs)
    Parameters
    Type Name Description
    LockableSpacing lhs
    double rhs
    Returns
    Type Description
    LockableSpacing

    operator *(LockableSpacing, double)

    Variable spacings describe the spacings between a row of bolts, possibly varying between each bolt

    Declaration
    public static LockableSpacing operator *(LockableSpacing lhs, double rhs)
    Parameters
    Type Name Description
    LockableSpacing lhs
    double rhs
    Returns
    Type Description
    LockableSpacing

    operator -(LockableSpacing, double)

    Variable spacings describe the spacings between a row of bolts, possibly varying between each bolt

    Declaration
    public static LockableSpacing operator -(LockableSpacing lhs, double rhs)
    Parameters
    Type Name Description
    LockableSpacing lhs
    double rhs
    Returns
    Type Description
    LockableSpacing
    Back to top