TransformGraphicsProvider Class

A class for creating and managing RenderGraphics representing geometric elements for the purpose of interactive tool dynamics.

Methods

Name Description
constructor(iModel: IModelConnection, prefix: string): TransformGraphicsProvider    
addGraphics(transform: Transform, context: DynamicsContext): void    
addSingleGraphic(graphic: RenderGraphic, transform: Transform, context: DynamicsContext): void    
cleanupGraphics(): Promise<void> Call to dispose of RenderGraphic held by RenderGraphicOwner and cancel requests that are still pending.  
createGraphics(elements: Id64Arg): void Call to request RenderGraphics for the supplied element ids.  
createSingleGraphic(id: string): Promise<boolean> Call to request a RenderGraphic for the supplied element id.  

Properties

Name Type Description
chordTolerance number Chord tolerance to use to stroke the element's geometry in meters.  
data Readonly TransformGraphicsData[]    
iModel Readonly IModelConnection    
pending Readonly Map<string, string>    
prefix Readonly string    

Defined in

Last Updated: 21 November, 2024