public class IfcUtils extends Object
| Constructor and Description |
|---|
IfcUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
getAbsolutePosition(IfcObjectPlacement ifcObjectPlacement)
Not finished, does not take into account the directions
|
static double[] |
getAbsolutePosition(IfcProduct ifcProduct) |
static int |
getAllPaths(Path basePath,
IdEObject otherObject,
Set<Path> paths,
Set<org.eclipse.emf.ecore.EObject> noConnectionPaths) |
static Tristate |
getBooleanProperty(IfcObject ifcObject,
String propertyName) |
static String |
getClassification(IfcProduct ifcProduct,
IfcModelInterface model) |
static List<IfcClassificationNotationSelect> |
getClassifications(IfcSpace ifcSpace,
IfcModelInterface model) |
static List<IfcProduct> |
getContains(IfcBuildingStorey ifcBuildingStorey) |
static List<IfcProduct> |
getDecomposition(IfcBuildingStorey ifcBuildingStorey) |
static IfcBuildingStorey |
getIfcBuildingStorey(IfcProduct ifcProduct) |
static IfcProject |
getIfcProject(IfcProduct ifcProduct) |
static Double |
getIfcQuantityArea(IdEObject idEObject) |
static Double |
getIfcQuantityArea(IfcProduct ifcProduct) |
static Double |
getIfcQuantityArea(IfcProduct ifcProduct) |
static Double |
getIfcQuantityVolume(IdEObject idEObject) |
static Double |
getIfcQuantityVolume(IfcProduct ifcProduct) |
static Double |
getIfcQuantityVolume(IfcProduct ifcProduct) |
static float |
getLengthUnitPrefix(IfcModelInterface model) |
static float |
getLengthUnitPrefixMm(String prefix) |
static String |
getMaterial(IdEObject ifcProduct) |
static String |
getMaterial(IfcProduct ifcProduct) |
static String |
getMaterial(IfcProduct ifcProduct) |
static int |
getNrOfProperties(IdEObject ifcProduct) |
static int |
getNrOfProperties(IfcProduct ifcProduct) |
static int |
getNrOfProperties(IfcProduct ifcProduct) |
static int |
getNrOfPropertySets(IdEObject ifcProduct) |
static int |
getNrOfPropertySets(IfcProduct ifcProduct) |
static int |
getNrOfPropertySets(IfcProduct ifcProduct) |
static int |
getNrOfPSets(IdEObject ifcProduct) |
static int |
getNrOfPSets(IfcProduct ifcProduct) |
static int |
getNrOfPSets(IfcProduct ifcProduct) |
static Path |
getShortestAllPaths(IdEObject start,
IdEObject end) |
static String |
getStringProperty(IfcObject ifcObject,
String propertyName) |
static boolean |
hasProperty(IfcProduct ifcProduct,
String propertyName) |
static List<String> |
listElementQuantities(IfcProduct ifcProduct) |
static Map<String,Object> |
listProperties(IfcObject ifcObject,
String propertySetName)
Lists all properties of a given IfcPopertySet that are of type IfcPropertySingleValue, all values are converted to the appropriate Java type
|
static Set<String> |
listPropertyNames(IfcProduct ifcProduct) |
public static int getAllPaths(Path basePath, IdEObject otherObject, Set<Path> paths, Set<org.eclipse.emf.ecore.EObject> noConnectionPaths)
public static IfcBuildingStorey getIfcBuildingStorey(IfcProduct ifcProduct)
public static List<IfcProduct> getDecomposition(IfcBuildingStorey ifcBuildingStorey)
public static List<IfcProduct> getContains(IfcBuildingStorey ifcBuildingStorey)
public static IfcProject getIfcProject(IfcProduct ifcProduct)
public static Tristate getBooleanProperty(IfcObject ifcObject, String propertyName)
public static Map<String,Object> listProperties(IfcObject ifcObject, String propertySetName)
ifcObject - propertySetName - public static Set<String> listPropertyNames(IfcProduct ifcProduct)
public static Double getIfcQuantityVolume(IfcProduct ifcProduct)
public static Double getIfcQuantityArea(IfcProduct ifcProduct)
public static Double getIfcQuantityVolume(IfcProduct ifcProduct)
public static Double getIfcQuantityArea(IfcProduct ifcProduct)
public static List<String> listElementQuantities(IfcProduct ifcProduct)
public static double[] getAbsolutePosition(IfcProduct ifcProduct) throws PlacementNotImplementedException
PlacementNotImplementedExceptionpublic static double[] getAbsolutePosition(IfcObjectPlacement ifcObjectPlacement) throws PlacementNotImplementedException
ifcObjectPlacement - PlacementNotImplementedExceptionpublic static List<IfcClassificationNotationSelect> getClassifications(IfcSpace ifcSpace, IfcModelInterface model)
public static boolean hasProperty(IfcProduct ifcProduct, String propertyName)
public static float getLengthUnitPrefix(IfcModelInterface model)
public static float getLengthUnitPrefixMm(String prefix)
public static int getNrOfProperties(IdEObject ifcProduct)
public static int getNrOfProperties(IfcProduct ifcProduct)
public static int getNrOfProperties(IfcProduct ifcProduct)
public static int getNrOfPropertySets(IdEObject ifcProduct)
public static int getNrOfPropertySets(IfcProduct ifcProduct)
public static int getNrOfPropertySets(IfcProduct ifcProduct)
public static int getNrOfPSets(IdEObject ifcProduct)
public static int getNrOfPSets(IfcProduct ifcProduct)
public static int getNrOfPSets(IfcProduct ifcProduct)
public static String getMaterial(IfcProduct ifcProduct)
public static String getMaterial(IfcProduct ifcProduct)
public static String getClassification(IfcProduct ifcProduct, IfcModelInterface model)
Copyright © 2018 OpenSource BIM. All rights reserved.