Class SHSProfileFactory
A singleton class which serves every HSS pipe section as defined by AISC.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Elements.Geometry.Profiles
Assembly: Hypar.Elements.dll
Syntax
public sealed class SHSProfileFactory : ProfileFactoryBase<SHSProfileType, SHSProfile>
Constructors
SHSProfileFactory()
Declaration
public SHSProfileFactory()
Methods
CreateProfile(Int32)
Declaration
protected override SHSProfile CreateProfile(int typeIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | typeIndex |
Returns
Type | Description |
---|---|
SHSProfile |
Overrides
Elements.Geometry.Profiles.ProfileFactoryBase<Elements.Geometry.Profiles.SHSProfileType, Elements.Geometry.Profiles.SHSProfile>.CreateProfile(System.Int32)
GetProfileByName(String)
Get a profile by name.
Declaration
public override SHSProfile GetProfileByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the profile. |
Returns
Type | Description |
---|---|
SHSProfile | A rectangular hollow section profile. |
Overrides
Elements.Geometry.Profiles.ProfileFactoryBase<Elements.Geometry.Profiles.SHSProfileType, Elements.Geometry.Profiles.SHSProfile>.GetProfileByName(System.String)
GetProfileByType(SHSProfileType)
Get a profile by type.
Declaration
public override SHSProfile GetProfileByType(SHSProfileType type)
Parameters
Type | Name | Description |
---|---|---|
SHSProfileType | type | The type of the profile. |
Returns
Type | Description |
---|---|
SHSProfile | A rectangular hollow section profile. |
Overrides
Elements.Geometry.Profiles.ProfileFactoryBase<Elements.Geometry.Profiles.SHSProfileType, Elements.Geometry.Profiles.SHSProfile>.GetProfileByType(Elements.Geometry.Profiles.SHSProfileType)