Home > @visualization-tools/cartesian-2d > SharedInterleavedLine2dHitTestComponent
Where an entity makes use of shared buffers it can be indexed natively, potentially providing a significant performance boost. Otherwise equivalent to InterleavedLine2dHitTestComponent.
Signature:
export declare class SharedInterleavedLine2dHitTestComponent<TArray extends TTypedArray> implements IHitTestComponent<ICartesian2dUpdateArg<TArray>, THitTestableSharedInterleavedPoint2dTrait<TArray>, TCartesianSharedQuadTree<TArray>>, IRefCountedObject
Implements: IHitTestComponent<ICartesian2dUpdateArg<TArray>, THitTestableSharedInterleavedPoint2dTrait<TArray>, TCartesianSharedQuadTree<TArray>>, IRefCountedObject
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(indexer) | Constructs a new instance of the SharedInterleavedLine2dHitTestComponent class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| sharedObject | ILinkedReferenceCounter |
| Method | Modifiers | Description |
|---|---|---|
| createOne(emscriptenModule, ctor) | static |
|
| hitTest(entity, indexOfFirstPoint, cssPosition, updateArg) | ||
| index(entity, updateArg, tree) |