Beispiel #1
0
        public bool Overlaps(Seg2F seg)
        {
            float tStart = ToTime(seg.Start);
            float tEnd   = ToTime(seg.End);

            return((tStart > 0.0 && tStart < 1.0) || (tEnd > 0.0 && tEnd < 1.0));
        }
Beispiel #2
0
 public bool SameDirection(Seg2F seg) => SameDirection(seg.Delta);