Show / Hide Table of Contents

    Class StandardWall

    A wall defined by a planar curve, a height, and a thickness.

    Examples
    // Create a wall.
    var line = new Line(new Vector3(0, 0, 0), new Vector3(10, 10, 0));
    var wall = new StandardWall(line, 0.1, 3.0);
    wall.AddOpening(1, 2, 1, 1);
    wall.AddOpening(3, 1, 3.5, 1.5);
    
    Inheritance
    System.Object
    Element
    GeometricElement
    Wall
    StandardWall
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IHasOpenings
    Inherited Members
    Wall.Profile
    Wall.Openings
    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 StandardWall : Wall, INotifyPropertyChanged, IHasOpenings

    Constructors

    StandardWall(Line, Double, Double, Material, Transform, Representation, Boolean, Guid, String)

    Construct a wall along a line.

    Declaration
    public StandardWall(Line centerLine, double thickness, 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
    Line centerLine

    The center line of the wall.

    System.Double thickness

    The thickness of the wall.

    System.Double height

    The height of the wall.

    Material material

    The wall's material.

    Transform transform

    The transform of the wall. This transform will be concatenated to the transform created to describe the wall in 2D.

    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.

    Properties

    CenterLine

    The center line of the wall.

    Declaration
    public Line CenterLine { get; }
    Property Value
    Type Description
    Line

    Height

    The height of the wall.

    Declaration
    public double Height { get; protected set; }
    Property Value
    Type Description
    System.Double

    Thickness

    The thickness of the wall.

    Declaration
    public double Thickness { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    AddOpening(Polygon, Double, Double, Double, Double)

    Add an Opening in the Wall. The Opening x and y sets the position relative to the Wall's Centerline.Start point in the wall elevation coordinate system. The x and y will position the origin of the polygon opening.

    Declaration
    public Opening AddOpening(Polygon perimeter, double x, double y, double depthFront = 1, double depthBack = 1)
    Parameters
    Type Name Description
    Polygon perimeter

    The perimeter of the opening.

    System.Double x

    The distance to the origin of the perimeter opening along the center line of the wall.

    System.Double y

    The height to the origin of the perimeter along the center line of the wall.

    System.Double depthFront

    The depth of the opening along the opening's +Z axis.

    System.Double depthBack

    The depth of the opening along the opening's -Z axis.

    Returns
    Type Description
    Opening

    AddOpening(Double, Double, Double, Double, Double, Double)

    Add an Opening in the Wall. The Opening x and y sets the position relative to the Wall's Centerline.Start point in the wall elevation coordinate system. The x and y will position origin of the rectangular opening.

    Declaration
    public Opening AddOpening(double width, double height, double x, double y, double depthFront = 1, double depthBack = 1)
    Parameters
    Type Name Description
    System.Double width

    The width of the opening.

    System.Double height

    The height of the opening.

    System.Double x

    The distance to the center of the opening along the center line of the wall.

    System.Double y

    The height to the center of the opening along the center line of the wall.

    System.Double depthFront

    The depth of the opening along the opening's +Z axis.

    System.Double depthBack

    The depth of the opening along the opening's -Z axis.

    Returns
    Type Description
    Opening

    UpdateRepresentations()

    Update solid operations.

    Declaration
    public override void UpdateRepresentations()
    Overrides
    Wall.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)