public bool IntersectsWithLineSegment(LineSegment segment, IntersectionCheckOptions option) { bool result = false; for (int i = 1; i < Count && !result; i++) { result = segment.Intersects(new LineSegment(this[i - 1], this[i]), option); } return(result); }