MCPcopy Create free account
hub / github.com/OpenWebCAD/node-occ / m

Function m

src/ShapeFactory.cc:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#define Primitives_ZMax BRepPrim_ZMax
20
21char m(Primitives_Direction p)
22{
23 switch (p) {
24 case Primitives_XMin: return 'x';
25 case Primitives_YMin: return 'y';
26 case Primitives_ZMin: return 'z';
27 case Primitives_XMax: return 'X';
28 case Primitives_YMax: return 'Y';
29 case Primitives_ZMax: return 'Z';
30 }
31 return 0;
32}
33static void registerMakeBoxFaces(Solid* pThis, BRepPrimAPI_MakeBox& tool)
34{
35 pThis->_registerNamedShape("top", tool.TopFace());

Callers 1

registerMakeBoxFacesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected