Rebar.GetCrankRatio
Description:
Gets the crank ratio at the indicated bar end.
Gets the crank ratio at the indicated bar end.
Remarks:
The crank slope is 1/crankRatio. If the crank lengths are overriden will return the overriden value. Otherwise will return the value from the RebarBarType for the existing Crank Type.
The crank slope is 1/crankRatio. If the crank lengths are overriden will return the overriden value. Otherwise will return the value from the RebarBarType for the existing Crank Type.
public double GetCrankRatio(
int end
)
-
Int32endThe bar end.
Return Value
Double
Returns the crank ratio.
-
end must be 0 or 1.
-
The bar does not have a valid Rebar Crank Type at the end.