HollowRectangleShape
Contents
[
Hide
]HollowRectangleShape class
IFC compatible hollow rectangular shape with both inner/outer rounding corners.
Methods
constructor
| Name | Description |
|---|---|
| constructor() |
Result:
getWallThickness
| Name | Description |
|---|---|
| getWallThickness() | The thickness between the boundary of the rectangle and the inner hole |
Result:
setWallThickness
| Name | Description |
|---|---|
| setWallThickness(value) | The thickness between the boundary of the rectangle and the inner hole |
Result:
getInnerFilletRadius
| Name | Description |
|---|---|
| getInnerFilletRadius() | The inner fillet radius of the inner rectangle. |
Result:
setInnerFilletRadius
| Name | Description |
|---|---|
| setInnerFilletRadius(value) | The inner fillet radius of the inner rectangle. |
Result:
getRoundingRadius
| Name | Description |
|---|---|
| getRoundingRadius() | Gets or sets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0 |
Result:
setRoundingRadius
| Name | Description |
|---|---|
| setRoundingRadius(value) | Gets or sets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0 |
Result:
getXDim
| Name | Description |
|---|---|
| getXDim() | Gets or sets the extent of the rectangle in the direction of x-axis Default value is 2.0 |
Result:
setXDim
| Name | Description |
|---|---|
| setXDim(value) | Gets or sets the extent of the rectangle in the direction of x-axis Default value is 2.0 |
Result:
getYDim
| Name | Description |
|---|---|
| getYDim() | Gets or sets the extent of the rectangle in the direction of y-axis Default value is 2.0 |
Result:
setYDim
| Name | Description |
|---|---|
| setYDim(value) | Gets or sets the extent of the rectangle in the direction of y-axis Default value is 2.0 |
Result:
getParentNodes
| Name | Description |
|---|---|
| getParentNodes() | Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancing The nodes. |
Result:
getExcluded
| Name | Description |
|---|---|
| getExcluded() | Gets or sets whether to exclude this entity during exporting. |
Result:
setExcluded
| Name | Description |
|---|---|
| setExcluded(value) | Gets or sets whether to exclude this entity during exporting. |
Result:
getParentNode
| Name | Description |
|---|---|
| getParentNode() | Gets or sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes. The parent node. |
Result:
setParentNode
| Name | Description |
|---|---|
| setParentNode(value) | Gets or sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes. The parent node. |
Result:
getScene
| Name | Description |
|---|---|
| getScene() | Gets the scene that this object belongs to |
Result:
getName
| Name | Description |
|---|---|
| getName() | Gets or sets the name. The name. |
Result:
setName
| Name | Description |
|---|---|
| setName(value) | Gets or sets the name. The name. |
Result:
getProperties
| Name | Description |
|---|---|
| getProperties() | Gets the collection of all properties. |
Result:
getExtent
| Name | Description |
|---|---|
| getExtent() | Gets the extent in x and y dimension. |
Result: Vector2
getEntityRendererKey
| Name | Description |
|---|---|
| getEntityRendererKey() | Gets the key of the entity renderer registered in the renderer |
Result: EntityRendererKey
getBoundingBox
| Name | Description |
|---|---|
| getBoundingBox() | Gets the bounding box of current entity in its object space coordinate system. |
Result: EntityRendererKey
removeProperty
| Name | Description |
|---|---|
| removeProperty(property) | Removes a dynamic property. |
Parameters:
| Name | Type | Description |
|---|---|---|
| property | Property | Which property to remove |
Result: boolean
removeProperty
| Name | Description |
|---|---|
| removeProperty(property) | Remove the specified property identified by name |
Parameters:
| Name | Type | Description |
|---|---|---|
| propert | String | null |
Result: boolean
getProperty
| Name | Description |
|---|---|
| getProperty(property) | Get the value of specified property |
Parameters:
| Name | Type | Description |
|---|---|---|
| property | String | Property name |
Result: Object
setProperty
| Name | Description |
|---|---|
| setProperty(property, value) | Sets the value of specified property |
Parameters:
| Name | Type | Description |
|---|---|---|
| property | String | Property name |
| value | Object | The value of the property |
Result: Object
findProperty
| Name | Description |
|---|---|
| findProperty(propertyName) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
Parameters:
| Name | Type | Description |
|---|---|---|
| propertyName | String | Property name. |
Result: Property