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

Function setSurfaceColour_2x3

src/ifcparse/IfcHierarchyHelper.cpp:517–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515
516template <typename Schema>
517typename Schema::IfcPresentationStyleAssignment* setSurfaceColour_2x3(IfcHierarchyHelper<Schema>& file, typename Schema::IfcProductRepresentation* shape, double r, double g, double b, double a) {
518 typename Schema::IfcPresentationStyleAssignment* style_assignment = addStyleAssignment_2x3(file, r, g, b, a);
519 setSurfaceColour_2x3(file, shape, style_assignment);
520 return style_assignment;
521}
522
523template <typename Schema>
524typename Schema::IfcPresentationStyle* setSurfaceColour_4x3(IfcHierarchyHelper<Schema>& file, typename Schema::IfcProductRepresentation* shape, double r, double g, double b, double a) {

Callers 1

setSurfaceColourFunction · 0.85

Calls 5

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

Tested by

no test coverage detected