Skip to content

RasterSplitReduceData

Overview

A pair of counts (reducible/complete).

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RasterSplitReduceData

import { RasterSplitReduceData } from 'scenerystack/alpenglow';

Constructor

new RasterSplitReduceData( numReducible : number, numComplete : number )

Instance Methods

toString() : string

writeEncoding( encoder : ByteEncoder )

Static Methods

readEncoding( arrayBuffer : ArrayBuffer, byteOffset : number ) : RasterSplitReduceData

fromArrayBuffer( arrayBuffer : ArrayBuffer ) : RasterSplitReduceData[]

combine( a : RasterSplitReduceData, b : RasterSplitReduceData ) : RasterSplitReduceData

from( edgeClip : RasterEdgeClip, clippedChunk : RasterClippedChunk, exists : boolean ) : RasterSplitReduceData

Static Properties

ENCODING_BYTE_LENGTH

(readonly)

INDETERMINATE : RasterSplitReduceData

(readonly)

IDENTITY : RasterSplitReduceData

(readonly)

Source Code

See the source for RasterSplitReduceData.ts in the alpenglow repository.