Class Frame
An element defined by a perimeter and a cross section swept along that perimeter.
Implements
System.ComponentModel.INotifyPropertyChanged
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
Assembly: Hypar.Elements.dll
Syntax
public class Frame : GeometricElement, INotifyPropertyChanged
Constructors
Frame(Polygon, Profile, Double, Material, Transform, Representation, Boolean, Guid, String)
Create a frame.
Declaration
public Frame(Polygon curve, Profile profile, double offset = 0, Material material = null, Transform transform = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
Parameters
Type | Name | Description |
---|---|---|
Polygon | curve | The frame's perimeter. |
Profile | profile | The frame's profile. |
System.Double | offset | The amount which the perimeter will be offset internally. |
Material | material | The frame's material. |
Transform | transform | The frame's transform. |
Representation | representation | The frame's representation. |
System.Boolean | isElementDefinition | Is this an element definition? |
System.Guid | id | The id of the frame. |
System.String | name | The name of the frame. |
Properties
Curve
The perimeter of the frame.
Declaration
public BoundedCurve Curve { get; set; }
Property Value
Type | Description |
---|---|
BoundedCurve |
Profile
The frame's profile.
Declaration
public Profile Profile { get; set; }
Property Value
Type | Description |
---|---|
Profile |
Methods
UpdateRepresentations()
Update representations.
Declaration
public override void UpdateRepresentations()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged