Package com.solibri.smc.api.model
Interface Material
public interface Material
Represents the material of a component. Corresponds to IfcMaterial.
- Since:
- 9.10.3
-
Method Summary
Modifier and TypeMethodDescriptionReturns the category of this material if it exists, otherwise returns an empty Optional.Returns name of the material constituent if it exists, otherwise returns an empty string.Returns the description of this material if it exists, otherwise returns an empty Optional.Returns the fraction of this material if it exists, otherwise returns an empty Optional.Returns the Ifc entity type of this material if it exists, otherwise returns an empty Optional.Returns the layer set name of this material if it exists, otherwise returns an empty Optional.getName()
Returns the name of this material.Returns the priority of this material if it exists, otherwise returns an empty Optional.Returns the property sets of this material.getPropertySets
(String name) Returns the property sets of this material with the given name.Returns the thickness of this material if it exists, otherwise returns an empty double.Returns whether this material is ventilated.
-
Method Details
-
getName
String getName()Returns the name of this material.- Returns:
- the name of this material
- Since:
- 9.10.3
-
getConstituentName
Returns name of the material constituent if it exists, otherwise returns an empty string.- Returns:
- the constituent name
- Since:
- 9.13.4
-
getThickness
OptionalDouble getThickness()Returns the thickness of this material if it exists, otherwise returns an empty double.- Returns:
- the thickness of this material if it exists, otherwise returns an empty double
- Since:
- 9.10.3
-
getIfcEntityType
Optional<IfcEntityType> getIfcEntityType()Returns the Ifc entity type of this material if it exists, otherwise returns an empty Optional. IfcEntityType is available for all the materials.- Returns:
- the IfcEntityType of this material if it exists, otherwise returns an empty Optional
- Since:
- 24.9.0
-
getCategory
Returns the category of this material if it exists, otherwise returns an empty Optional. Category is available for materials that are part of a IfcMaterial, IfcMaterialLayer, IfcMaterialConstituent.- Returns:
- the category of this material if it exists, otherwise returns an empty Optional
- Since:
- 24.9.0
-
getDescription
Returns the description of this material if it exists, otherwise returns an empty Optional. Description is available for materials that are part of a IfcMaterial, IfcMaterialLayer, IfcMaterialLayerSet, IfcMaterialConstituent and IfcMaterialConstituentSet.- Returns:
- the description of this material if it exists, otherwise returns an empty Optional
- Since:
- 24.9.0
-
getFraction
Returns the fraction of this material if it exists, otherwise returns an empty Optional. Fraction is available for materials that are part of a IfcMaterialConstituent.- Returns:
- the fraction of this material if it exists, otherwise returns an empty Optional
- Since:
- 24.9.0
-
isVentilated
Returns whether this material is ventilated. Isventilated is available for materials that are part of a IfcMaterialLayer.- Returns:
- whether this material is ventilated
- Since:
- 24.9.0
-
getLayerSetName
Returns the layer set name of this material if it exists, otherwise returns an empty Optional. Layer set name is available for materials that are part of a IfcMaterialLayer and IfcMaterialLayerSet.- Returns:
- the layer set name of this material if it exists, otherwise returns an empty Optional
- Since:
- 24.9.0
-
getPriority
Returns the priority of this material if it exists, otherwise returns an empty Optional. Priority is available for materials that are part of a IfcMaterialLayer.- Returns:
- the priority of this material if it exists, otherwise returns an empty Optional
- Since:
- 24.9.0
-
getPropertySets
Collection<PropertySet> getPropertySets()Returns the property sets of this material.- Returns:
- the property sets of this material
- Since:
- 24.9.0
-
getPropertySets
Returns the property sets of this material with the given name.- Parameters:
name
- the name of the property set- Returns:
- the property sets of this material with the given name
- Since:
- 24.9.0
-