| 211 | } |
| 212 | |
| 213 | const IfcGeom::ConversionResultShape* IfcGeom::Representation::BRep::item(int i) const { |
| 214 | if (i >= 0 && i < shapes_.size()) { |
| 215 | return shapes_[i].Shape()->moved(shapes_[i].Placement()); |
| 216 | } else { |
| 217 | return nullptr; |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | int IfcGeom::Representation::BRep::item_id(int i) const { |
| 222 | if (i >= 0 && i < shapes_.size()) { |