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

Function object_id

src/serializers/SvgSerializer.h:749–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747 std::string nameElement(const IfcUtil::IfcBaseEntity* elem);
748 std::string idElement(const IfcUtil::IfcBaseEntity* elem);
749 std::string object_id(const IfcUtil::IfcBaseEntity* storey, const IfcGeom::Element* o) {
750 if (storey) {
751 return idElement(storey) + "-" + GeometrySerializer::object_id(o);
752 } else {
753 return GeometrySerializer::object_id(o);
754 }
755 }
756
757 void addDrawing(const gp_Pnt& pos, const gp_Dir& dir, const gp_Dir& ref, const std::string& name, bool include_projection) {
758 deferred_section_data_.emplace();

Callers 7

ttl_object_idMethod · 0.85
object_idMethod · 0.85
writeMethod · 0.85
nameElementMethod · 0.85
writeMethod · 0.85
object_id_uniqueMethod · 0.85
writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected