Method Create
Create(OasysUnits.Length, OasysUnits.Length, OasysUnits.Length, OasysUnits.Length)
Creates a new IRectoEllipseProfile profile from its Depth, DepthFlat, Width and WidthFlat.
Declaration
static IRectoEllipseProfile Create(OasysUnits.Length depth, OasysUnits.Length depthFlat, OasysUnits.Length width, OasysUnits.Length widthFlat)
Parameters
Type | Name | Description |
---|---|---|
OasysUnits.Length | depth | Defines the overall depth of the profile. |
OasysUnits.Length | depthFlat | Defines the flat length of the profile's overall depth. |
OasysUnits.Length | width | Defines the overall width of the profile. |
OasysUnits.Length | widthFlat | Defines the flat length of the profile's overall width. |
Returns
Type | Description |
---|---|
IRectoEllipseProfile |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When any of the dimensions is not a positive and finite value. |