Commit 6f941c2f authored by Christophe Geuzaine's avatar Christophe Geuzaine

partially reverting last commit: it breaks demos/boolean/thrusections.geo

parent cee01c61
Pipeline #1465 passed with stage
in 36 minutes and 5 seconds
......@@ -188,10 +188,11 @@ GPoint OCCEdge::closestPoint(const SPoint3 &qp, double &param) const
// True if the edge is a seam for the given face
bool OCCEdge::isSeam(const GFace *face) const
if (face->geomType() == GEntity::CompoundSurface) return false;
if (face->getNativeType() != GEntity::OpenCascadeModel) return false;
if (!face->periodic(0) && !face->periodic(1)) return false;
// this breaks demos/thrusections.geo:
//if (!face->periodic(0) && !face->periodic(1)) return false;
bool ret;
const TopoDS_Face *s = (TopoDS_Face*) face->getNativePtr();
// This function was horribly slow... until ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment