Interface Door
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Door.OperationType
Describes the opening operation and direction of a door.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Footprint
getFootprint()
Calculates the footprint for this door based on the assumption that the expected footprint the caller wants is calculated based on positioning of the door inside a wall and an opening.Footprint
getFootPrintForOpenedDoor()
Calculates the footprint this door covers as open and as closed.Footprint
getGeometricalFootprint()
Calculates the footprint for the door based on the actual geometry of the door.Door.OperationType
getOperationType()
Returns the operation type of the door (seeDoor.OperationType
).double
getOverallHeight()
Returns the overall height of the door.double
getOverallWidth()
Returns the overall width of the door.Vector3d
getReferenceDirection()
Returns a direction vector of unit length that defines the hinge side and opening direction of the door.-
Methods inherited from interface com.solibri.smc.api.model.Component
distance, distance, equals, getBATID, getBottomElevationFromFloor, getBoundingBox, getBuilding, getComponentType, getConstructionType, getDescriptionText, getDisciplineName, getFederatedFloor, getFloor, getFunctionalSystems, getGlobalBottomElevation, getGlobalTopElevation, getGroups, getGUID, getHyperlinks, getIfcEntityType, getIntersections, getMaterials, getModel, getName, getProfile, getPropertySets, getPropertySets, getPropertyValue, getRelated, getSite, getTopElevationFromFloor, getTriangleMesh, horizontalDistance, horizontalDistance, isOnBuildingEnvelope, projectionOnXYPlaneDistance, projectionOnXYPlaneDistance, verticalDistance, verticalDistance
-
-
-
-
Method Detail
-
getFootprint
Footprint getFootprint()
Calculates the footprint for this door based on the assumption that the expected footprint the caller wants is calculated based on positioning of the door inside a wall and an opening. Footprint is calculated by extending the door to the intersection of the wall and an opening inside it. If there is no opening or wall found around the door, the calculation falls back to the default footprint calculation and is equal to getGeometricalFootprint.- Specified by:
getFootprint
in interfaceComponent
- Returns:
- the footprint
-
getFootPrintForOpenedDoor
Footprint getFootPrintForOpenedDoor()
Calculates the footprint this door covers as open and as closed. The returned results might be cached and reused. For example, for a normal swinging door with one hinge, the resulting area would usually resemble a quarter of a circle.- Returns:
- the footprint
-
getGeometricalFootprint
Footprint getGeometricalFootprint()
Calculates the footprint for the door based on the actual geometry of the door. This matches the way footprints are calculated by default for entities.- Returns:
- the footprint
-
getReferenceDirection
Vector3d getReferenceDirection()
Returns a direction vector of unit length that defines the hinge side and opening direction of the door.For example, if a door is defined to open to the left, then the hinge is on the left side when looking in the reference direction. The reference direction of a door corresponds to the y-axis used in IFCDoor.
- Returns:
- a direction vector of unit length that defines the hinge side and opening direction of the door
- Since:
- 9.10.2
-
getOverallWidth
double getOverallWidth()
Returns the overall width of the door. The overall width is the width required to contain the whole door.- Returns:
- the width of the door
- Since:
- 9.10.2
-
getOverallHeight
double getOverallHeight()
Returns the overall height of the door. The overall height is the height required to contain the whole door.- Returns:
- the height of the door
- Since:
- 9.10.2
-
getOperationType
Door.OperationType getOperationType()
Returns the operation type of the door (seeDoor.OperationType
).- Returns:
- the operation type of the door
- Since:
- 9.10.2
-
-