Function: processMultipleIntersections()
processMultipleIntersections(
viewport,sourceAnnotation,sourcePolyline,intersectingContours):void
Processes multiple intersecting annotations with a source annotation. This function handles the complex case where a source annotation intersects with multiple target annotations, requiring multiple operations.
Parameters
• viewport: Viewport
The viewport context.
• sourceAnnotation: ContourSegmentationAnnotation
The newly completed contour segmentation.
• sourcePolyline: Point2[]
The polyline of the source annotation in canvas space.
• intersectingContours: object[]
Array of intersecting contour information.
Returns
void
Defined in
tools/src/utilities/contourSegmentation/mergeMultipleAnnotations.ts:36