PlateConnectionSolver.does_segment_intersect_outline

static PlateConnectionSolver.does_segment_intersect_outline(segment, polyline, tol=Tolerance(unit='MM', absolute=0.001, relative=0.001, angular=1e-06, approximation=0.001, precision=3, lineardeflection=0.001, angulardeflection=0.1))[source]

Checks if a segment intersects with the outline of a polyline.

Parameters:
segmentSegment

The segment to check for intersection.

polylinePolyline

The polyline whose outline is checked for intersection.

tolfloat, optional

Tolerance for intersection check.

Returns:
bool

True if the segment intersects with the outline of the polyline, False otherwise.