示例#1
0
文件: GeoExt.cs 项目: zerodowned/Core
 public static IEnumerable <Point2D> PlotLine2D(this IPoint2D start, IPoint2D end)
 {
     return(Line2D.Plot(start, end));
 }
示例#2
0
 public static IEnumerable <Point2D> Intersect(Triangle2D t1, Triangle2D t2)
 {
     return(Line2D.Intersect(new[] { t1._AB, t1._BC, t1._CA }, new[] { t2._AB, t2._BC, t2._CA }));
 }