Exemple #1
0
        public bool IntersectsWith(LineSegmentF lineSegment)
        {
            var other = new Stroke();

            other.AddPoint(lineSegment.Start);
            other.AddPoint(lineSegment.End);
            return(GetIntersectionWith(other) != null);
        }
Exemple #2
0
		public bool IntersectsWith (LineSegmentF lineSegment)
		{
			var other = new Stroke ();
			other.AddPoint (lineSegment.Start);
			other.AddPoint (lineSegment.End);
			return GetIntersectionWith (other) != null;
		}