public bool Cover(TriangleMesh meshA, TriangleMesh meshB, double positiveOffset, double negativeOffset) { if (touchOperator.TouchWithoutInnerOuterTest(meshA, meshB, positiveOffset, negativeOffset)) { return(false); } return(insideTester.BIsInside(meshA, meshB));; }
public bool Contain(TriangleMesh meshA, TriangleMesh meshB, double minusOffset) { if (overlapOperator.Overlap(meshA, meshB, minusOffset)) { return(false); } return(insideTester.BIsInside(meshA, meshB)); }
public bool Touch(TriangleMesh meshA, TriangleMesh meshB, double positiveOffset, double negativeOffset) { if (!TouchWithoutInnerOuterTest2(meshA, meshB, positiveOffset, negativeOffset)) { return(false); } var insideTest = !insideTester.BIsInside(meshA, meshB); return(insideTest); }