Class Wall
A wall defined by a planar profile extruded to a height.
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 Wall : GeometricElement, INotifyPropertyChanged, IHasOpenings
Constructors
Wall(Profile, Double, Material, Transform, Representation, Boolean, Guid, String)
Construct a wall by extruding a profile.
Declaration
[JsonConstructor]
public Wall(Profile profile, double height, Material material = null, Transform transform = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The plan profile of the wall. |
System.Double | height | The height of the wall. |
Material | material | The material of the wall. |
Transform | transform | An option transform for the wall. |
Representation | representation | The wall's representation. |
System.Boolean | isElementDefinition | Is this an element definition? |
System.Guid | id | The id of the wall. |
System.String | name | The name of the wall. |
Wall(Transform, Material, Representation, Boolean, Guid, String)
A pass-through constructor to set the id, name, and transform.
Declaration
protected Wall(Transform transform, Material material, Representation representation, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
Parameters
Type | Name | Description |
---|---|---|
Transform | transform | |
Material | material | |
Representation | representation | |
System.Boolean | isElementDefinition | Is this an element definition? |
System.Guid | id | |
System.String | name |
Properties
Height
The height of the wall.
Declaration
[Obsolete("The height property on the Wall base class is obsolete, check the methods of an inherited class like StandardWall or WallByProfile.")]
public double Height { get; protected set; }
Property Value
Type | Description |
---|---|
System.Double |
Openings
A collection of openings in the wall.
Declaration
public List<Opening> Openings { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Opening> |
Profile
The profile of the wall.
Declaration
[Obsolete("The profile property on the Wall base class is obsolete, check the methods of an inherited class like StandardWall or WallByProfile.")]
public Profile Profile { get; protected set; }
Property Value
Type | Description |
---|---|
Profile |
Methods
UpdateRepresentations()
Update the representations.
Declaration
public override void UpdateRepresentations()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged