Example #1
0
        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));;
        }
Example #2
0
        public bool Contain(TriangleMesh meshA, TriangleMesh meshB, double minusOffset)
        {
            if (overlapOperator.Overlap(meshA, meshB, minusOffset))
            {
                return(false);
            }

            return(insideTester.BIsInside(meshA, meshB));
        }
Example #3
0
        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);
        }