Show / Hide Table of Contents

    Class TiledCeiling

    A tiled ceiling.

    Inheritance
    System.Object
    Element
    GeometricElement
    BaseCeiling
    TiledCeiling
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    BaseCeiling.Elevation
    BaseCeiling.Perimeter
    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 TiledCeiling : BaseCeiling, INotifyPropertyChanged

    Constructors

    TiledCeiling(Polygon, Double, Double, Double, Transform, Material, Transform, Representation, Boolean, Guid, String)

    Construct a ceiling from tiles.

    Declaration
    public TiledCeiling(Polygon perimeter, double tileWidth, double tileLength, double spaceBetween, Transform gridOrientation = null, Material material = null, Transform transform = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
    Parameters
    Type Name Description
    Polygon perimeter

    The plan perimeter of the ceiling. It must lie on the XY plane. Z coordinate will be used as elevation

    System.Double tileWidth

    The tile width.

    System.Double tileLength

    The tile length.

    System.Double spaceBetween

    The space between tiles.

    Transform gridOrientation

    The grid orientation.

    Material material

    The material of the ceiling.

    Transform transform

    An optional transform for the ceiling.

    Representation representation

    The ceiling's representation.

    System.Boolean isElementDefinition

    Is this an element definition?

    System.Guid id

    The id of the ceiling.

    System.String name

    The name of the ceiling.

    TiledCeiling(Polygon, Double, Double, Double, Double, Transform, Material, Transform, Representation, Boolean, Guid, String)

    Construct a ceiling from tiles.

    Declaration
    public TiledCeiling(Polygon perimeter, double elevation, double tileWidth, double tileLength, double spaceBetween, Transform gridOrientation = null, Material material = null, Transform transform = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
    Parameters
    Type Name Description
    Polygon perimeter

    The plan profile of the ceiling. It must lie on the XY plane. The Z coordinate will be ignored

    System.Double elevation

    The elevation of the ceiling.

    System.Double tileWidth

    The tile width.

    System.Double tileLength

    The tile length.

    System.Double spaceBetween

    The space between tiles.

    Transform gridOrientation

    The grid orientation.

    Material material

    The material of the ceiling.

    Transform transform

    An optional transform for the ceiling.

    Representation representation

    The ceiling's representation.

    System.Boolean isElementDefinition

    Is this an element definition?

    System.Guid id

    The id of the ceiling.

    System.String name

    The name of the ceiling.

    TiledCeiling(Polygon, Double, Double, Double, Double, Transform, Guid, Material, Transform, Representation, Boolean, String)

    Construct a ceiling from tiles. It's a private constructor that doesn't add elevation to transform

    Declaration
    [JsonConstructor]
    protected TiledCeiling(Polygon perimeter, double elevation, double tileWidth, double tileLength, double spaceBetween, Transform gridOrientation = null, Guid id = default(Guid), Material material = null, Transform transform = null, Representation representation = null, bool isElementDefinition = false, string name = null)
    Parameters
    Type Name Description
    Polygon perimeter

    The plan profile of the ceiling. It must lie on the XY plane. The Z coordinate will be ignored

    System.Double elevation

    The elevation of the ceiling.

    System.Double tileWidth
    System.Double tileLength
    System.Double spaceBetween
    Transform gridOrientation
    System.Guid id

    The id of the ceiling.

    Material material

    The material of the ceiling.

    Transform transform

    An optional transform for the ceiling.

    Representation representation

    The ceiling's representation.

    System.Boolean isElementDefinition

    Is this an element definition?

    System.String name

    The name of the ceiling.

    Properties

    GridOrientation

    The grid orientation.

    Declaration
    public Transform GridOrientation { get; protected set; }
    Property Value
    Type Description
    Transform

    SpaceBetween

    The space between tiles.

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

    TileLength

    The tile length.

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

    TileWidth

    The tile width.

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

    Methods

    GetCountOfUCells()

    Get count of U cells.

    Declaration
    public int GetCountOfUCells()
    Returns
    Type Description
    System.Int32

    Count of U cells.

    GetCountOfVCells()

    Get count of V cells.

    Declaration
    public int GetCountOfVCells()
    Returns
    Type Description
    System.Int32

    Count of v cells.

    GetGrid()

    Get an underlying grid.

    Declaration
    public Grid2d GetGrid()
    Returns
    Type Description
    Grid2d

    An underlying grid.

    GetTileCells()

    Get the tile cells as Grid2d.

    Declaration
    public List<Grid2d> GetTileCells()
    Returns
    Type Description
    System.Collections.Generic.List<Grid2d>

    List of tiles grids.

    GetTiles()

    Get tiles.

    Declaration
    public List<Polygon> GetTiles()
    Returns
    Type Description
    System.Collections.Generic.List<Polygon>

    List of tiles.

    UpdateRepresentations()

    Update the representations.

    Declaration
    public override void UpdateRepresentations()
    Overrides
    GeometricElement.UpdateRepresentations()

    Implements

    System.ComponentModel.INotifyPropertyChanged

    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)