Home > @jsplumbtoolkit/obstacle-router > ObstacleDetector
ObstacleDetector class
Signature:
export declare class ObstacleDetector
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(sourceDataset, regionOverlapThreshold, debug) | Constructs a new instance of the ObstacleDetector class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| _contentBounds | Record<string, number> | ||
| _currentRegion | TrackingRegion | ||
| _finished | boolean | ||
| _origin | PointXY | ||
| _regionIndex | number | ||
| _regions | Array<Region> | ||
| _stack | Array<TrackingRegion> | ||
| _stepCounter | number | ||
| _vertices | Array<VertexEntry> | ||
| debug | boolean | ||
| idx | number | ||
| sourceDataset | ObstacleDetectorSource |
Methods
| Method | Modifiers | Description |
|---|---|---|
| _feedback(str) | ||
| _updateStepCount(count) | ||
| execute(onComplete) | ||
| id() |