TrapeziumShape

TrapeziumShape class

IFC compatible Trapezium shape defined by parameters.

Methods

constructor

NameDescription
constructor()Constructor of TrapeziumShape

Result:


getBottomXDim

NameDescription
getBottomXDim()Gets or sets the extent of the bottom line measured along the x-axis.

Result:


setBottomXDim

NameDescription
setBottomXDim(value)Gets or sets the extent of the bottom line measured along the x-axis.

Result:


getTopXDim

NameDescription
getTopXDim()Gets or sets the extent of the top line measured along the x-axis.

Result:


setTopXDim

NameDescription
setTopXDim(value)Gets or sets the extent of the top line measured along the x-axis.

Result:


getYDim

NameDescription
getYDim()Gets or sets the distance between the top and bottom lines measured along the y-axis.

Result:


setYDim

NameDescription
setYDim(value)Gets or sets the distance between the top and bottom lines measured along the y-axis.

Result:


getTopXOffset

NameDescription
getTopXOffset()Gets or sets the offset from the beginning of the top line to the bottom line.

Result:


setTopXOffset

NameDescription
setTopXOffset(value)Gets or sets the offset from the beginning of the top line to the bottom line.

Result:


getParentNodes

NameDescription
getParentNodes()Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancing The nodes.

Result:


getExcluded

NameDescription
getExcluded()Gets or sets whether to exclude this entity during exporting.

Result:


setExcluded

NameDescription
setExcluded(value)Gets or sets whether to exclude this entity during exporting.

Result:


getParentNode

NameDescription
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

NameDescription
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

NameDescription
getScene()Gets the scene that this object belongs to

Result:


getName

NameDescription
getName()Gets or sets the name. The name.

Result:


setName

NameDescription
setName(value)Gets or sets the name. The name.

Result:


getProperties

NameDescription
getProperties()Gets the collection of all properties.

Result:


getExtent

NameDescription
getExtent()Gets the extent in x and y dimension.

Result: Vector2


getEntityRendererKey

NameDescription
getEntityRendererKey()Gets the key of the entity renderer registered in the renderer

Result: EntityRendererKey


getBoundingBox

NameDescription
getBoundingBox()Gets the bounding box of current entity in its object space coordinate system.

Result: EntityRendererKey


removeProperty

NameDescription
removeProperty(property)Removes a dynamic property.

Parameters:

NameTypeDescription
propertyPropertyWhich property to remove

Result: boolean


removeProperty

NameDescription
removeProperty(property)Remove the specified property identified by name

Parameters:

NameTypeDescription
propertStringnull

Result: boolean


getProperty

NameDescription
getProperty(property)Get the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name

Result: Object


setProperty

NameDescription
setProperty(property, value)Sets the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name
valueObjectThe value of the property

Result: Object


findProperty

NameDescription
findProperty(propertyName)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Parameters:

NameTypeDescription
propertyNameStringProperty name.

Result: Property