Ejemplo n.º 1
0
 private bool PointOnSegment(SKLine line, SKPoint point)
 {
     return(LinearArithmetic.IsBetween(line.Point1.X, line.Point1.Y, line.Point2.X, line.Point2.Y, point.X, point.Y));
 }
Ejemplo n.º 2
0
 public bool OnLine(SKPoint point)
 {
     return(LinearArithmetic.IsBetween(Point1.X, Point1.Y, Point2.X, Point2.Y, point.X, point.Y));
 }