Interface Component
- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptionReturns the minimum 3d distance between the surface of thisComponentand a given point, if it exists.Returns the minimum 3d distance between the surfaces of thisComponentand another, if it exists.booleanReturns true if the components are equal.getBATID()Returns the BIM Authoring Tool ID (BATID) of this component if one is specified.doubleReturns the bottom elevation of this component measured from the level of the floor on which this component is located.Calculates the axis-aligned bounding box for this component.Returns the height of the component's bounding box.Returns the length of the component's bounding box.Returns the width of the component's bounding box.Returns the building in which this component is located.Returns the name of the component.Returns theComponentTypeof the entity.Returns the technical construction type of the component if it is specified.Returns a textual description of this component if one is specified.Returns the name of the discipline of this component if one is specified.doubleReturns the vertical distance in meters to the next floor level measured from the top level of the component.Returns the element type of the component.Returns the federated floor on which this component is located.getFloor()Returns the floor on which this component is located.Returns the footprint for this component.Returns a set of the systems of this component.Returns the geometry type of the component.doubleReturns the global bottom elevation of this component in the model.Returns the insertion point of the component in the global coordinates.doubleReturns the global top elevation of this component in the model.Returns a set of the groups of the component if any exists, otherwise returns empty collection.getGUID()Returns the GUID of this component specified in IFC.Returns the hyperlinks associated with this component.Returns the matching IFC entity type if the component matches one.Returns the matching IFC entity type of the component's type object if the type object matches one.<T> Optional<T>getInformation(Class<? extends Information<T>> information) Returns the custom information value for this component for the given custom information.getInformationAsString(String informationUniqueId) Returns the customInformationas String for this component.getIntersections(Component component) Returns the intersections of this component and given component.Returns a list of the materials of this component.getModel()Returns the model to which this component belongs.getName()Returns the localized display name of this component.Returns the object type of the component.getParametricInformationAsString(String informationUniqueId, Map<String, String> parameters) Returns the customParametricInformationas String for this component.Returns the predefined type.Returns the profile of this component if it exists.Returns the property sets of this component.getPropertySets(String name) Returns the property sets of this component with the given name.<T> Optional<T>getPropertyValue(PropertyReference propertyReference) Returns the value of property to which the given PropertyReference refers.getRelated(Relation relation) Returns the components that are related to this component through the given relation.getSite()Returns the site of the component if it exists.doubleReturns the top elevation of this component measured from the level of the floor on which this component is located.Returns theTriangleMeshcomposed of the triangles of this component and its decomposed components.Returns the name of component's type object.horizontalDistance(Vector3d point) Returns the horizontal distance between the surface of thisComponentand a point, if it exists.horizontalDistance(Component other) Returns the horizontal distance between the surfaces of thisComponentand another, if it exists.booleanReturns true if this component is modelled as part of a building envelope.Returns the 2d distance between the projections of thisComponentand point on the XY-plane, if it exists.Returns the 2d distance between the projections of thisComponentand another on the XY-plane, if it exists.verticalDistance(Vector3d point) Returns the vertical distance between the surface of thisComponentand a point, if it exists.verticalDistance(Component other) Returns the vertical distance between the surfaces of thisComponentand another, if it exists.
- 
Method Details- 
getBATIDReturns the BIM Authoring Tool ID (BATID) of this component if one is specified. Otherwise returns empty.- Returns:
- the BIM Authoring Tool ID (BATID) of this component if one is specified
- Since:
- 9.10.3
 
- 
getComponentTypeComponentType getComponentType()Returns theComponentTypeof the entity.- Returns:
- the type of the entity
- Since:
- 9.10.2
 
- 
getDescriptionTextReturns a textual description of this component if one is specified. Otherwise returns empty.- Returns:
- a textual description of this component if one is specified
- Since:
- 9.10.3
 
- 
getDisciplineNameReturns the name of the discipline of this component if one is specified. Otherwise returns empty.- Returns:
- the name of the discipline of this component if one is specified
- Since:
- 9.10.3
 
- 
getGlobalBottomElevationdouble getGlobalBottomElevation()Returns the global bottom elevation of this component in the model.The elevation is relative to the origin of the model. - Returns:
- the global bottom elevation of this component in the model
- Since:
- 9.10.3
 
- 
getGlobalTopElevationdouble getGlobalTopElevation()Returns the global top elevation of this component in the model.The elevation is relative to the origin of the model. - Returns:
- the global top elevation of this component in the model
- Since:
- 9.10.3
 
- 
getBottomElevationFromFloordouble getBottomElevationFromFloor()Returns the bottom elevation of this component measured from the level of the floor on which this component is located.If the component is not located on any floor, then this method returns the global bottom elevation of the component. - Returns:
- the bottom elevation of this component measured from the level of the floor on which this component is located
- Since:
- 9.10.3
 
- 
getTopElevationFromFloordouble getTopElevationFromFloor()Returns the top elevation of this component measured from the level of the floor on which this component is located.If the component is not located on any floor, then this method returns the global top elevation of the component. - Returns:
- the top elevation of this component measured from the level of the floor on which this component is located
- Since:
- 9.10.3
 
- 
getGUIDString getGUID()Returns the GUID of this component specified in IFC.- Returns:
- the GUID of this component specified in IFC
- Since:
- 9.10.2
 
- 
equalsReturns true if the components are equal.
- 
getPropertySetsCollection<PropertySet> getPropertySets()Returns the property sets of this component.- Returns:
- the property sets of this component
- Since:
- 9.10.2
 
- 
getPropertySetsReturns the property sets of this component with the given name.- Parameters:
- name- the name of the property set
- Returns:
- the property sets of this component with the given name
- Since:
- 9.10.2
 
- 
getPropertyValueReturns the value of property to which the given PropertyReference refers. If this entity does not contain the property to which the reference refers or if the property value is not of the given type, then returns empty.- Type Parameters:
- T- the expected type of the property value
- Parameters:
- propertyReference- reference to the property whose value is returned if present
- Returns:
- the value of the property to which the given PropertyReference refers
 
- 
getTriangleMeshTriangleMesh getTriangleMesh()Returns theTriangleMeshcomposed of the triangles of this component and its decomposed components.- Returns:
- the TriangleMeshof this component and its decomposed components.
 
- 
getBoundingBoxAABB3d getBoundingBox()Calculates the axis-aligned bounding box for this component.- Returns:
- the axis-aligned bounding box
 
- 
getBuildingReturns the building in which this component is located.- Returns:
- the building in which this component is located
- Since:
- 9.10.3
 
- 
getFederatedFloorOptional<BuildingStorey> getFederatedFloor()Returns the federated floor on which this component is located. If this component is not located on any federated floor, then returns empty.Federated floors are calculated by Solibri Desktop and are based on the geometric location of components on storeys in the model. - Returns:
- the federated floor on which this component is located
- Since:
- 9.10.3
 
- 
getFloorOptional<BuildingStorey> getFloor()Returns the floor on which this component is located. If this component is not marked to belong to any floor, then returns empty.The returned floor is the floor to which this component is located on based on IFC relations. - Returns:
- the floor on which this component is located
- Since:
- 9.10.3
 
- 
getFootprintFootprint getFootprint()Returns the footprint for this component.- Returns:
- the footprint for this component
 
- 
getFunctionalSystemsSet<FunctionalSystem> getFunctionalSystems()Returns a set of the systems of this component. If the component does not belong to any system, returns empty list.- Returns:
- a set of the systems of this component
- Since:
- 9.10.3
 
- 
getRelatedReturns the components that are related to this component through the given relation.- Parameters:
- relation- the relation through which the returned components are related to this component
- Returns:
- the components that are related to this component through the given relation
- Since:
- 9.10.2
 
- 
getNameString getName()Returns the localized display name of this component.The returned name is a short localized display name that describes the type of the component and the unique index number in the model e.g. Wall.0.12 - Returns:
- the localized display name of this component
- Since:
- 9.10.2
 
- 
getConstructionTypeReturns the technical construction type of the component if it is specified. Otherwise returns empty.The returned type is a specific technical type, such as a type code. For getting the general type of the component, the getComponentType()method should be used.- Returns:
- the technical type of the component if it is specified
- Since:
- 9.10.3
 
- 
getIntersectionsReturns the intersections of this component and given component.- Parameters:
- component- a component whose intersections with this component are to be calculated
- Returns:
- a set of intersections between this component and given component
- Since:
- 9.10.2
- See Also:
 
- 
distanceReturns the minimum 3d distance between the surface of thisComponentand a given point, if it exists. If the point is inside the component, the distance will be from the point to the inner surface of the component. To check if a point is inside a component instead, useTriangleMesh.encloses(Vector3d)on the mesh obtained viagetTriangleMesh().- Parameters:
- point- the given point as- Vector3d
- Returns:
- the distance, if it exists
- Since:
- 9.10.2
 
- 
distanceReturns the minimum 3d distance between the surfaces of thisComponentand another, if it exists. If the other component is inside the component, the distance will be from the inner component to the inner surface of the outer component.- Parameters:
- other- the other- Component
- Returns:
- the distance, if it exists
- Since:
- 9.10.2
 
- 
horizontalDistanceReturns the horizontal distance between the surface of thisComponentand a point, if it exists. If the point is inside the component, the distance will be from the point to the inner surface of the component.- Parameters:
- point- the point as- Vector3d
- Returns:
- the distance, if it exists
- Since:
- 9.10.2
 
- 
horizontalDistanceReturns the horizontal distance between the surfaces of thisComponentand another, if it exists. If the other component is inside the component, the distance will be from the inner component to the inner surface of the outer component.- Parameters:
- other- the other- Component
- Returns:
- the distance, if it exists
- Since:
- 9.10.2
 
- 
verticalDistanceReturns the vertical distance between the surface of thisComponentand a point, if it exists. If the point is inside the component, the distance will be from the point to the inner surface of the component.- Parameters:
- point- the point as- Vector3d
- Returns:
- the distance, if it exists
- Since:
- 9.10.2
 
- 
verticalDistanceReturns the vertical distance between the surfaces of thisComponentand another, if it exists. If the other component is inside the component, the distance will be from the inner component to the inner surface of the outer component.- Parameters:
- other- the other- Component
- Returns:
- the distance, if it exists
- Since:
- 9.10.2
 
- 
projectionOnXYPlaneDistanceReturns the 2d distance between the projections of thisComponentand point on the XY-plane, if it exists.- Parameters:
- other- point the point as- Vector3d
- Returns:
- the distance on the XY-plane, if it exists
- Since:
- 9.10.2
 
- 
projectionOnXYPlaneDistanceReturns the 2d distance between the projections of thisComponentand another on the XY-plane, if it exists.- Parameters:
- other- the other- Component
- Returns:
- the distance on the XY-plane, if it exists
- Since:
- 9.10.2
 
- 
getProfileReturns the profile of this component if it exists.- Returns:
- the profile of this component if it exists.
- Since:
- 9.10.3
 
- 
isOnBuildingEnvelopeboolean isOnBuildingEnvelope()Returns true if this component is modelled as part of a building envelope. The calculation is based on the property isExternal of this component, if it exists (some components do not have any property set with property isExternal).- Returns:
- true if this component is modelled as part of a building envelope
- Since:
- 9.10.3
 
- 
getSiteReturns the site of the component if it exists.- Returns:
- the site of the component if it exists
- Since:
- 9.10.3
 
- 
getMaterialsReturns a list of the materials of this component. A component can consist of multiple materials. Returns an empty list if no material information exists.- Returns:
- a list of the materials of this component
- Since:
- 9.10.3
 
- 
getGroupsReturns a set of the groups of the component if any exists, otherwise returns empty collection.- Returns:
- a set of the groups of the component if any exists, otherwise returns empty collection
- Since:
- 9.10.4
 
- 
getHyperlinksCollection<Hyperlink> getHyperlinks()Returns the hyperlinks associated with this component. If there are no hyperlinks for this component, then returns an empty collection.- Returns:
- the hyperlinks associated with this component
- Since:
- 9.10.4
 
- 
getIfcEntityTypeOptional<IfcEntityType> getIfcEntityType()Returns the matching IFC entity type if the component matches one.- Returns:
- the IFC entity type if such is found
- Since:
- 9.10.6
 
- 
getModelModel getModel()Returns the model to which this component belongs.- Returns:
- the model
- Since:
- 9.12.0
 
- 
getInformationReturns the custom information value for this component for the given custom information.- Type Parameters:
- T- the type of the custom information return value
- Parameters:
- information- the information to get
- Returns:
- the value if defined for this component, empty optional otherwise
- Since:
- 9.12.3
 
- 
getInformationAsStringReturns the customInformationas String for this component. Return value as String means how the Information has implemented the getInformationAsString method. The custom information is defined by unique id.- Parameters:
- informationUniqueId- the information unique id
- Returns:
- the value if defined for this component, empty optional otherwise
- Since:
- 9.12.7
 
- 
getParametricInformationAsStringOptional<String> getParametricInformationAsString(String informationUniqueId, Map<String, String> parameters) Returns the customParametricInformationas String for this component. Return value as String means how the Information has implemented the getInformationAsString method. The custom parametric defined by unique id.- Parameters:
- informationUniqueId- the parametric information unique id
- parameters- the parameters as name to value map
- Returns:
- the value if defined for this component, empty optional otherwise
- Since:
- 9.12.7
 
- 
getPredefinedTypeReturns the predefined type.- Returns:
- the predefined type
- Since:
- 9.12.8
 
- 
getComponentNameReturns the name of the component. The component name is shown as Name in the Info view. The value is imported from IfcRoot.Name.- Returns:
- the component name
- Since:
- 9.12.8
 
- 
getTypeNameReturns the name of component's type object. The value is imported from IfcTypeObject.Name.- Returns:
- the name of the component's type object
- Since:
- 9.12.8
 
- 
getIfcTypeOptional<IfcEntityType> getIfcType()Returns the matching IFC entity type of the component's type object if the type object matches one.- Returns:
- the IFC entity type if such is found
- Since:
- 9.12.8
 
- 
getElementTypeReturns the element type of the component. Comes from IfcElementType.ElementType.- Returns:
- the component element type
- Since:
- 9.12.9
 
- 
getObjectTypeReturns the object type of the component. Comes from IfcObject.ObjectType.- Returns:
- the component object type
- Since:
- 9.12.9
 
- 
getGeometryTypeOptional<ComponentGeometryType> getGeometryType()Returns the geometry type of the component.- Returns:
- the component geometry
- Since:
- 9.12.8
 
- 
getDistanceToNextFloordouble getDistanceToNextFloor()Returns the vertical distance in meters to the next floor level measured from the top level of the component. The next floor is the floor above the component's floor.- Returns:
- the distance to next floor in meters
- Since:
- 9.12.8
 
- 
getGlobalCoordinateReturns the insertion point of the component in the global coordinates.- Returns:
- the global coordinate or empty if component doesn't have geometry
- Since:
- 9.12.8
 
- 
getBoundingBoxHeightOptionalDouble getBoundingBoxHeight()Returns the height of the component's bounding box.- Returns:
- the bounding box height
- Since:
- 9.12.8
 
- 
getBoundingBoxLengthOptionalDouble getBoundingBoxLength()Returns the length of the component's bounding box. The length is the longer side of the bounding box. The bounding box is minimal and oriented on XY-plane around component's footprint.- Returns:
- the bounding box length
- Since:
- 9.12.8
 
- 
getBoundingBoxWidthOptionalDouble getBoundingBoxWidth()Returns the width of the component's bounding box. The width is the shorter side of the bounding box.The bounding box is minimal and oriented on XY-plane around component's footprint.- Returns:
- the bounding box width
- Since:
- 9.12.8
 
 
-