Class BaseCeiling
The base class for all ceilings.
Inheritance
Implements
Inherited Members
Namespace: Elements
Assembly: Hypar.Elements.dll
Syntax
public abstract class BaseCeiling : GeometricElement, INotifyPropertyChanged
Constructors
BaseCeiling(Polygon, Material, Transform, Representation, Boolean, Guid, String)
Construct a ceiling from perimeter.
Declaration
protected BaseCeiling(Polygon perimeter, 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 |
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. |
BaseCeiling(Polygon, Double, Material, Transform, Representation, Boolean, Guid, String)
Construct a ceiling from perimeter and an elevation.
Declaration
protected BaseCeiling(Polygon perimeter, double elevation, 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. |
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. |
BaseCeiling(Polygon, Double, Guid, Material, Transform, Representation, Boolean, String)
Construct a ceiling. It's a private constructor that doesn't add elevation to transform.
Declaration
[JsonConstructor]
protected BaseCeiling(Polygon perimeter, double elevation, 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.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
Elevation
The elevation of the ceiling.
Declaration
public double Elevation { get; protected set; }
Property Value
Type | Description |
---|---|
System.Double |
Perimeter
The perimeter of the ceiling.
Declaration
public Polygon Perimeter { get; protected set; }
Property Value
Type | Description |
---|---|
Polygon |