Interface ITrapezoidProfile
Defines a trapezoidal profile.
Inherited Members
Namespace: Oasys.Profiles
Assembly: AdSec_API_IDL.dll
Syntax
public interface ITrapezoidProfile : ITrapezoidProfileAbstractInterface, IProfile
Remarks
ITrapezoidProfile inherits ITrapezoidProfileAbstractInterface and IProfile .
The trapezoid is centered at the origin of its local coordinate system.
Properties
BottomWidth
The bottom width of trapezoidal profile. Bottom is relative to the local z-axis.
Declaration
Length BottomWidth { get; set; }
Property Value
Type | Description |
---|---|
OasysUnits.Length |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When the width is not a positive and finite value. |
TopWidth
The top width of trapezoidal profile. Top is relative to the local z-axis.
Declaration
Length TopWidth { 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, Length)
Creates a new ITrapezoidProfile profile from its Depth TopWidth and BottomWidth.
Declaration
static ITrapezoidProfile Create(Length depth, Length topWidth, Length bottomWidth)
Parameters
Type | Name | Description |
---|---|---|
OasysUnits.Length | depth | Defines the profile's depth. |
OasysUnits.Length | topWidth | Defines the profile's top width. |
OasysUnits.Length | bottomWidth | Defines the profile's bottom width. |
Returns
Type | Description |
---|---|
ITrapezoidProfile | Trapezoid profile with the specified dimensions. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When any of its dimensions is not a positive and finite value. |