Class LockableSpacing
Variable spacings describe the spacings between a row of bolts,
possibly varying between each bolt
Inheritance
LockableSpacing
Assembly: DesignData.SDS2.Model.dll
Syntax
public sealed class LockableSpacing : Lockable
Constructors
LockableSpacing()
Create a variable spacing with no spacings set
Declaration
Properties
AssumedRows
The number of rows of bolts described by this set of spacings
Declaration
public int AssumedRows { get; }
Property Value
Count
Declaration
public int Count { get; }
Property Value
First
Declaration
public double First { get; }
Property Value
IsVariable
True is the spacing list is variable, not uniform
Declaration
public bool IsVariable { get; }
Property Value
this[int]
Declaration
public double this[int index] { get; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Last
Declaration
public double Last { get; }
Property Value
Max
Declaration
public double Max { get; }
Property Value
Min
Declaration
public double Min { get; }
Property Value
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
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
GetIsVariable()
True is the spacing list is variable, not uniform
Declaration
public bool GetIsVariable()
Returns
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
Returns
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
Returns
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
Returns
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
Returns