GeometryQuery Class
GeometryQuery
is an abstract base class with (abstract) methods for querying curve, solid primitive, mesh, and bspline surfaces
Extended by
Methods
Name | Description | |
---|---|---|
constructor(): GeometryQuery | ||
clone(): undefined | GeometryQuery Abstract | return a clone | |
cloneTransformed(transform: Transform): undefined | GeometryQuery 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.0, dz: number = 0.0): boolean | try to move the geometry by dx,dy,dz | |
areAlmostEqual(a: undefined | GeometryQuery, b: undefined | GeometryQuery): boolean Static | apply instance method isAlmostEqual if both are defined. |
Properties
Name | Type | Description | |
---|---|---|---|
children Accessor ReadOnly | undefined | GeometryQuery[] | return GeometryQuery children for recursive queries. | |
geometryCategory AbstractReadonly | GeometryQueryCategory | Type discriminator. |
Defined in
- curve/GeometryQuery.ts Line 51
Last Updated: 20 June, 2023