API Reference > geometry-core > Curve > GeometryQuery GeometryQuery Class GeometryQuery is an abstract base class with (abstract) methods for querying curve, solid primitive, mesh, and bspline surfaces Extended by Polyface CurveCollection SolidPrimitive CoordinateXYZ PointString3d BSpline2dNd CurvePrimitive Methods 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, 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): Range3d 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 Properties Name Type Description children Accessor ReadOnly GeometryQuery[] | undefined return GeometryQuery children for recursive queries. geometryCategory Abstract GeometryQueryCategory Type discriminator. Defined in core/geometry/src/curve/GeometryQuery.ts Line 51 Last Updated: 13 June, 2024