MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / item

Method item

src/ifcgeom/IfcGeomRepresentation.cpp:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213const 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
221int IfcGeom::Representation::BRep::item_id(int i) const {
222 if (i >= 0 && i < shapes_.size()) {

Callers 15

smart_group_clashesMethod · 0.80
_test_horizontalFunction · 0.80
get_xFunction · 0.80
get_yFunction · 0.80
get_zFunction · 0.80
get_bottom_elevationFunction · 0.80
get_top_elevationFunction · 0.80
get_area_vfFunction · 0.80
get_footprint_perimeterFunction · 0.80
get_total_edge_lengthFunction · 0.80

Calls 2

sizeMethod · 0.45
movedMethod · 0.45

Tested by 3

_test_horizontalFunction · 0.64