dispatchToGeometryHandler Method
Double Dispatch call pattern.
- User code implements a GeometryHandlerwith specialized methods to handleLineSegment3d,Arc3d, etc as relevant to its use case.
- Each such GeometryQueryclass implements this method as a one-line method containing the appropriate call such ashandler.handleLineSegment3d())
- This allows each type-specific method to be called without a switch or instanceoftest.
dispatchToGeometryHandler(handler: GeometryHandler): any
| Parameter | Type | Description | 
|---|---|---|
| handler | GeometryHandler | handler to be called by the particular geometry class | 
Returns - any
Defined in
- bspline/AkimaCurve3d.ts Line 97
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.