if (productRepresentation.getRepresentations().isEmpty()) { representation = model.create(IfcRepresentation.class); productRepresentation.getRepresentations().add(representation); } else { representation = productRepresentation.getRepresentations().get(0);
for (IfcRepresentation representation : productRepresentation.getRepresentations()) { processRepresentation(product, representation);
shapeRepresentation.setRepresentationIdentifier("Body"); shapeRepresentation.getItems().add(extrudedAreaSolid); productRepresentation.getRepresentations().add(shapeRepresentation);
return null; for (IfcRepresentation ifcRepresentation : representation.getRepresentations()) { if ("Curve2D".equals(ifcRepresentation.getRepresentationType())) {