Skip to content

editorGlobalsIntersectionCaseDispatcher

Class: IntersectionCaseDispatcher

Knows several IntersectionCaseHandler and dispatches IntersectionEvents to the right handler

Hierarchy

  • IntersectionCaseDispatcher

Index

Properties

Methods

Properties

Private Readonly fingerprintToHandlers

fingerprintToHandlers: Map‹number, object[]› = new Map< number, Array<{ handler: IntersectionCaseHandler; index: number }>

()

Defined in src/util/polygon/triangulatingClipper/IntersectionCaseDispatcher.ts:8

Methods

handle

handle(intersectionCase: IntersectionCase): boolean

Defined in src/util/polygon/triangulatingClipper/IntersectionCaseDispatcher.ts:25

Parameters:

Name Type
intersectionCase IntersectionCase

Returns: boolean


registerCaseHandler

registerCaseHandler(CaseHandlerClass: IntersectionCaseHandler): void

Defined in src/util/polygon/triangulatingClipper/IntersectionCaseDispatcher.ts:12

Parameters:

Name Type
CaseHandlerClass IntersectionCaseHandler

Returns: void