Commit cb9ffebf authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[appl][ex2][readme] fix snippet on computing contained shape

parent 766746a1
......@@ -170,7 +170,7 @@ const auto& otherEntitySet = sampleIntoSet1 ? entitySet2 : entitySet1;
// get the face(s) that describe(s) the part of the entity that is contained in the domain
using namespace OCCUtilities;
const auto containedShape = cut(getShape(quad), getShape(domain), /*epsilon*/1e-6);
const auto containedShape = intersect(getShape(quad), getShape(domain), /*epsilon*/1e-6);
const auto containedFaces = getFaces(containedShape);
// check constraints for all faces making up the contained part
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