Method Create
Create(OasysUnits.Length, OasysUnits.Length)
Creates a new IEllipseProfile profile from its Depth and Width.
Declaration
static IEllipseProfile 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 |
---|---|
IEllipseProfile | Ellipse profile with the specified dimensions. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When any of its dimensions is not a positive and finite value. |