streamXYZXYZ MethodStatic
Deprecated - use VariantPointStream.streamXYZXYZ (handler)
Invoke a callback with each x,y,z from an array of points in variant forms.
Point3dArray.streamXYZXYZ
is deprecated -- use VariantPointStream.streamXYZXYZ (handler)
streamXYZXYZ(data: MultiLineStringDataVariant, startChainCallback: (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined, segmentCallback: (x0: number, y0: number, z0: number, x1: number, y1: number, z1: number) => void, endChainCallback: (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined): number
Parameter | Type | Description |
---|---|---|
data | MultiLineStringDataVariant | |
startChainCallback | (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined | callback of the form startChainCallback (source, isLeaf) to be called with the source array at each level. |
segmentCallback | (x0: number, y0: number, z0: number, x1: number, y1: number, z1: number) => void | callback of the form segmentCallback (index0, x0,y0,z0, index1, x1,y1,z1) |
endChainCallback | (chainData: MultiLineStringDataVariant, isLeaf: boolean) => void | undefined | callback of the form endChainCallback (source, isLeaf) to be called with the source array at each level. |
Defined in
Last Updated: 08 January, 2020