ElementPicker Class

Methods

Name Description
doPick(vp: ScreenViewport, pickPointWorld: Point3d, pickRadiusView: number, options: LocateOptions): number Generate a list of elements that are close to a given point.  
empty(): void    
getHit(i: number): HitDetail | undefined Return a hit from the list of hits created the last time pickElements was called.  
getHitList(takeOwnership: boolean): HitList<HitDetail> return the HitList for the last Pick performed.  
getNextHit(): HitDetail | undefined    
resetCurrentHit(): void    
testHit(hit: HitDetail, vp: ScreenViewport, pickPointWorld: Point3d, pickRadiusView: number, options: LocateOptions): boolean    

Properties

Name Type Description
hitList undefined | HitList<HitDetail>    
pickPointWorld Point3d    
viewport undefined | Viewport    

Defined in

Last Updated: 08 January, 2020