| 225 | Mesher::~Mesher() = default; |
| 226 | |
| 227 | Mesh::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 | |
| 241 | Mesh::MeshObject* Mesher::createMesh() const |
| 242 | { |
nothing calls this directly
no test coverage detected