Skip to main content

Function: getHoveredContourSegmentationAnnotation()

getHoveredContourSegmentationAnnotation(segmentationId): number

Retrieves the index of the hovered contour segmentation annotation for a given segmentation ID.

Parameters

segmentationId: any

The ID of the segmentation.

Returns

number

The index of the hovered contour segmentation annotation, or undefined if none is found.

Defined in

tools/src/utilities/segmentation/getHoveredContourSegmentationAnnotation.ts:10