Show / Hide Table of Contents

    Class Wall

    A wall defined by a planar profile extruded to a height.

    Inheritance
    System.Object
    Element
    GeometricElement
    Wall
    StandardWall
    WallByProfile
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IHasOpenings
    Inherited Members
    GeometricElement.Bounds
    GeometricElement.Transform
    GeometricElement.Material
    GeometricElement.Representation
    GeometricElement.IsElementDefinition
    GeometricElement.ModifyVertexAttributes
    GeometricElement.UpdateBoundsAndComputeSolid(Boolean)
    GeometricElement.CreateInstance(Transform, String)
    GeometricElement.ToMesh(Boolean)
    GeometricElement.HasGeometry()
    GeometricElement.Intersects(Plane, Dictionary<Guid, List<Polygon>>, Dictionary<Guid, List<Polygon>>, Dictionary<Guid, List<Line>>)
    GeometricElement.TryToGraphicsBuffers(List<GraphicsBuffers>, String, Nullable<MeshPrimitive.ModeEnum>)
    Element.Id
    Element.Name
    Element.AdditionalProperties
    Element.PropertyChanged
    Element.RaisePropertyChanged(String)
    Element.SetMapping(String, MappingBase)
    Element.GetMapping(String)
    Element.GetMapping<T>(String)
    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
    GeometricElement.UpdateRepresentations()

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IHasOpenings

    Extension Methods

    ElementProxyExtensions.Proxy<T>(T, String)
    Identity.AddOverrideIdentity(Element, IOverride)
    Identity.AddOverrideIdentity(Element, String, String, Object)
    Identity.AddOverrideValue(Element, String, Object)
    Identity.OverrideIds<T>(Element, String)