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

Function setSurfaceColour_4x3

src/ifcparse/IfcHierarchyHelper.cpp:524–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522
523template <typename Schema>
524typename Schema::IfcPresentationStyle* setSurfaceColour_4x3(IfcHierarchyHelper<Schema>& file, typename Schema::IfcProductRepresentation* shape, double r, double g, double b, double a) {
525 typename Schema::IfcPresentationStyle* style_assignment = addStyleAssignment_4x3(file, r, g, b, a);
526 setSurfaceColour_4x3(file, shape, style_assignment);
527 return style_assignment;
528}
529
530template <typename Schema>
531typename Schema::IfcPresentationStyleAssignment* setSurfaceColour_2x3(IfcHierarchyHelper<Schema>& file, typename Schema::IfcRepresentation* shape, double r, double g, double b, double a) {

Callers 1

setSurfaceColourFunction · 0.85

Calls 5

addStyleAssignment_4x3Function · 0.85
create_styled_itemFunction · 0.85
addEntityMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected