API Reference > geometry-core > CartesianGeometry > Point3dArray > streamXYZ streamXYZ MethodStatic Deprecated - use VariantPointStream.streamXYZ (handler) Invoke a callback with each x,y,z from an array of points in variant forms. Point3dArray.streamXYZ is deprecated -- use VariantPointStream.streamXYZ (handler) streamXYZ(data: MultiLineStringDataVariant, startChainCallback: (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined, pointCallback: (x: number, y: number, z: number) => void, endChainCallback: (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined): number Parameter Type Description data MultiLineStringDataVariant startChainCallback (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined called to announce the beginning of points (or recursion) pointCallback (x: number, y: number, z: number) => void (index, x,y,z) = function to receive point coordinates one by one endChainCallback (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined called to announce the end of handling of an array. Returns - number Defined in core/geometry/src/geometry3d/PointHelpers.ts Line 722 Last Updated: 13 June, 2024