Interface IStadiumProfile
A stadium section profile. It is a profile consisting of a rectangle whose ends are capped off with semicircles.
Inherited Members
Namespace: Oasys.Profiles
Assembly: AdSec_API_IDL.dll
Syntax
public interface IStadiumProfile : IProfile
Remarks
IStadiumProfile inherits IProfile.
Properties
Depth
The profile's overall depth considering the side length of the rectangle and the radii of the semicircles on the two ends.
Declaration
Length Depth { get; set; }
Property Value
Type | Description |
---|---|
OasysUnits.Length |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When the depth is not a positive and finite value. |
Width
The profile's width (diameter of the semicircles).
Declaration
Length Width { get; set; }
Property Value
Type | Description |
---|---|
OasysUnits.Length |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When the width is not a positive and finite value. |
Methods
Create(Length, Length)
Creates a new IStadiumProfile profile from its Depth and Width.
Declaration
static IStadiumProfile Create(Length depth, Length width)
Parameters
Type | Name | Description |
---|---|---|
OasysUnits.Length | depth | Defines the profile's overall depth considering the side length of the rectangle and the radii of the semicircles on the two ends. |
OasysUnits.Length | width | Defines the profile's width (diameter of the semicircles). |
Returns
Type | Description |
---|---|
IStadiumProfile |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When any of the dimensions is not a positive and finite value. |