Method Create
Create(OasysUnits.Length, OasysUnits.Length, Int32, Boolean)
Creates a new ISecantPileProfile profile from its Diameter, PileCentres, PileCount and IsWallNotSection.
Declaration
static ISecantPileProfile Create(OasysUnits.Length diameter, OasysUnits.Length pileCentres, int pileCount, bool isWallNotSection)
Parameters
Type | Name | Description |
---|---|---|
OasysUnits.Length | diameter | Defines the diameter of the piles. |
OasysUnits.Length | pileCentres | Defines the centre to centre distance between adjacent piles. |
System.Int32 | pileCount | Defines the number of piles in the profile. |
System.Boolean | isWallNotSection | Converts the profile into a wall secant pile profile if true. |
Returns
Type | Description |
---|---|
ISecantPileProfile |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When any of the dimensions is not a positive and finite value. |