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 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 |
getIfcQuantityVolume(IfcProduct ifcProduct,
String name) |
static float |
getLengthUnitPrefix(IfcModelInterface model) |
static float |
getLengthUnitPrefixMm(String prefix) |
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, String name)
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)
Copyright © 2018 OpenSource BIM. All rights reserved.