MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / createStandard

Method createStandard

src/Mod/MeshPart/App/Mesher.cpp:227–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225Mesher::~Mesher() = default;
226
227Mesh::MeshObject* Mesher::createStandard() const
228{
229 if (!shape.IsNull()) {
230 BRepTools::Clean(shape);
231 BRepMesh_IncrementalMesh aMesh(shape, deflection, relative, angularDeflection);
232 }
233
234 std::vector<Part::TopoShape::Domain> domains;
235 Part::TopoShape(shape).getDomains(domains);
236
237 BrepMesh brepmesh(this->segments, this->colors);
238 return brepmesh.create(domains);
239}
240
241Mesh::MeshObject* Mesher::createMesh() const
242{

Callers

nothing calls this directly

Calls 4

getDomainsMethod · 0.80
TopoShapeClass · 0.50
IsNullMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected