Method Create
Create(IConstructionPoint?, IConstructionPlane?, Vector2D, double, double)
Creates a new instance of WallOpeningParams class
Declaration
public static WallOpeningParams Create(IConstructionPoint? point, IConstructionPlane? plane, Vector2D offset, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| IConstructionPoint | point | The reference IConstructionPoint |
| IConstructionPlane | plane | The reference IConstructionPlane |
| Vector2D | offset | The wall opening offset measured in the reference plane from the reference point |
| double | width | The width of the wall opening |
| double | height | The height of the wall opening |
Returns
| Type | Description |
|---|---|
| WallOpeningParams | The newly created instance of WallOpeningParams class |
Create(int, EntityInfo, Vector2D, double, double)
Creates a new instance of WallOpeningParams class
Declaration
public static WallOpeningParams Create(int pointIndex, EntityInfo planeInfo, Vector2D offset, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pointIndex | The index of the reference IConstructionPoint |
| EntityInfo | planeInfo | The EntityInfo of the reference IConstructionPlane |
| Vector2D | offset | The wall opening offset measured in the reference plane from the reference point |
| double | width | The width of the wall opening |
| double | height | The height of the wall opening |
Returns
| Type | Description |
|---|---|
| WallOpeningParams | The newly created instance of WallOpeningParams class |