コード例 #1
0
        public bool Intersect(ISectionFace face)
        {
            var toolBox = this.GetBound();
            var faceBox = face.GetBound();

            return(faceBox.Intersects(toolBox));
        }
コード例 #2
0
        private static AxisAlignedBox3d GetFilterBoxYNeg(ISectionFace face, double filterMargin)
        {
            var box = face.GetBound();

            box.Min.y -= filterMargin;
            box.Max.y += filterMargin;//0.1;
            box.Max.x -= filterMargin;
            box.Max.z -= filterMargin;

            return(box);
        }