API Reference > imodeljs-common > Geometry > Quantization > Quantization.quantize Quantization.quantize Function Return pos quantized to the range [origin, origin + rangeScale]. quantize(pos: number, origin: number, scale: number, rangeScale: number = rangeScale16): number see Quantization.unquantize for the inverse operation. Parameter Type Description pos number origin number scale number rangeScale number Returns - number Defined in core/common/src/QPoint.ts Line 39 Last Updated: 11 June, 2024