Method Create
Create(OasysUnits.Length, OasysUnits.Length, OasysUnits.Length)
Creates a new ITrapezoidProfile profile from its Depth TopWidth and BottomWidth.
Declaration
static ITrapezoidProfile Create(OasysUnits.Length depth, OasysUnits.Length topWidth, OasysUnits.Length bottomWidth)
Parameters
Type | Name | Description |
---|---|---|
OasysUnits.Length | depth | Defines the profile's depth. |
OasysUnits.Length | topWidth | Defines the profile's top width. |
OasysUnits.Length | bottomWidth | Defines the profile's bottom width. |
Returns
Type | Description |
---|---|
ITrapezoidProfile | Trapezoid profile with the specified dimensions. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When any of its dimensions is not a positive and finite value. |