var intersectionDetail = path1.Data.FillContainsWithDetail(path2.Data); if (intersectionDetail != IntersectionDetail.NotCalculated && intersectionDetail != IntersectionDetail.Empty) { // collision }
原文:https://www.cnblogs.com/lonelyxmas/p/9473642.html