Method Create
Create(OasysUnits.Length)
Creates a new ICircleProfile profile from its Diameter.
Declaration
static ICircleProfile Create(OasysUnits.Length diameter)
Parameters
Type | Name | Description |
---|---|---|
OasysUnits.Length | diameter | Defines the profile's diameter. |
Returns
Type | Description |
---|---|
ICircleProfile | Circle profile with the specified diameter. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When the diameter is not a positive and finite value. |