public Intersects ( |
||
other | ||
option | IntersectionCheckOptions | |
return | bool |
public bool Intersects(LineSegment other, IntersectionCheckOptions option)
{
return projectionIntersectionCheck(other, option) && signedTriangleSquareCheck(other, option);
}
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); }