constructor Method
HitDetail(props)
Create a new HitDetail from the inputs to and results of a locate operation.
HitDetail(props: HitDetailProps): HitDetail
| Parameter | Type | Description |
|---|---|---|
| props | HitDetailProps |
Returns - HitDetail
HitDetail(testPoint, viewport, hitSource, hitPoint, sourceId, priority, distXY, distFraction, subCategoryId?, geometryClass?, modelId?, sourceIModel?, tileId?, isClassifier?)
Deprecated in 4.1 - will not be removed until after 2026-06-13. Use the overload that takes a HitDetailProps.
HitDetail(testPoint: Point3d, viewport: ScreenViewport, hitSource: HitSource, hitPoint: Point3d, sourceId: string, priority: HitPriority, distXY: number, distFraction: number, subCategoryId?: string, geometryClass?: GeometryClass, modelId?: string, sourceIModel?: IModelConnection, tileId?: string, isClassifier?: boolean): HitDetail
| Parameter | Type | Description |
|---|---|---|
| testPoint | Point3d | |
| viewport | ScreenViewport | |
| hitSource | HitSource | |
| hitPoint | Point3d | |
| sourceId | string | |
| priority | HitPriority | |
| distXY | number | |
| distFraction | number | |
| subCategoryId | string | |
| geometryClass | GeometryClass | |
| modelId | string | |
| sourceIModel | IModelConnection | |
| tileId | string | |
| isClassifier | boolean |
Returns - HitDetail
Defined in
- core/frontend/src/HitDetail.ts Line 252
Last Updated: 29 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.