public bool Intersect(ISectionFace face) { var toolBox = this.GetBound(); var faceBox = face.GetBound(); return(faceBox.Intersects(toolBox)); }
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); }