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