Interface IEllipseProfile
Inherited Members
Namespace: Oasys.Profiles
Assembly: AdSec_API_IDL.dll
Syntax
public interface IEllipseProfile : IProfile
Remarks
IEllipseProfile inherits IProfile.
The ellipse is centered at the origin of its local coordinate system.
Properties
Depth
The depth of the ellipse.
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 width of the ellipse.
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 IEllipseProfile profile from its Depth and Width.
Declaration
static IEllipseProfile Create(Length depth, 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. |