Class StructuralFraming
A structural element with a profile swept along a curve.
Implements
Inherited Members
Namespace: Elements
Assembly: Hypar.Elements.dll
Syntax
public abstract class StructuralFraming : GeometricElement, INotifyPropertyChanged
Constructors
StructuralFraming()
Construct a framing element.
Declaration
public StructuralFraming()
StructuralFraming(BoundedCurve, Profile, Material, Double, Double, Double, Transform, Representation, Boolean, Guid, String)
Construct a beam.
Declaration
public StructuralFraming(BoundedCurve curve, Profile profile, Material material = null, double startSetback = 0, double endSetback = 0, double rotation = 0, Transform transform = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
Parameters
Type | Name | Description |
---|---|---|
BoundedCurve | curve | The center line of the beam. |
Profile | profile | The structural framing's profile. |
Material | material | The structural framing's material. |
System.Double | startSetback | The setback distance of the beam's extrusion at its start. |
System.Double | endSetback | The setback distance of the beam's extrusion at its end. |
System.Double | rotation | An optional rotation in degrees of the transform around its z axis. |
Transform | transform | The element's Transform. |
Representation | representation | The structural framing's representation. |
System.Boolean | isElementDefinition | Is this an element definition? |
System.Guid | id | The structural framing's id. |
System.String | name | The structural framing's name. |
Properties
Curve
The center line of the framing element.
Declaration
public BoundedCurve Curve { get; set; }
Property Value
Type | Description |
---|---|
BoundedCurve |
EndSetback
The setback of the framing's extrusion at the end.
Declaration
public double EndSetback { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Profile
The structural framing's profile.
Declaration
public Profile Profile { get; set; }
Property Value
Type | Description |
---|---|
Profile |
Rotation
The profile rotation around the center curve of the beam in degrees.
Declaration
public double Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
StartSetback
The setback of the framing's extrusion at the start.
Declaration
public double StartSetback { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
ProfileTransformed()
Get the cross-section profile of the framing element transformed by the element's transform.
Declaration
public Profile ProfileTransformed()
Returns
Type | Description |
---|---|
Profile |
UpdateRepresentations()
Update the representations.
Declaration
public override void UpdateRepresentations()
Overrides
Volume()
Calculate the volume of the element.
Declaration
public double Volume()
Returns
Type | Description |
---|---|
System.Double |