GeometryQuery Class

  • GeometryQuery is an abstract base class with (abstract) methods for querying curve, solid primitive, mesh, and bspline surfaces

Extended by


Name Description
clone(): GeometryQuery | undefined Abstract return a clone  
cloneTransformed(transform: Transform): GeometryQuery | undefined Abstract return a transformed clone.  
dispatchToGeometryHandler(handler: GeometryHandler): any Abstract * "double dispatch" call pattern.  
extendRange(rangeToExtend: Range3d.createNull, transform?: Transform): void Abstract extend rangeToExtend by the range of this geometry multiplied by the transform  
isAlmostEqual(other: GeometryQuery): boolean test for exact structure and nearly identical geometry.  
isSameGeometryClass(other: GeometryQuery): boolean Abstract test if (other instanceof this.Type).  
range(transform?: Transform, result?: Range3d.createNull): Range3d.createNull return the range of the entire (tree) GeometryQuery  
tryTransformInPlace(transform: Transform): boolean Abstract Attempt to transform in place.  
tryTranslateInPlace(dx: number, dy: number = 0, dz: number = 0): boolean try to move the geometry by dx,dy,dz  
areAlmostEqual(a: GeometryQuery | undefined, b: GeometryQuery | undefined): boolean Static apply instance method isAlmostEqual if both are defined.  


Name Type Description
children Accessor ReadOnly GeometryQuery[] | undefined return GeometryQuery children for recursive queries.  
geometryCategory Abstract GeometryQueryCategory Type discriminator.  

Defined in

Last Updated: 20 July, 2021