RasterCompleteChunk¶
Overview¶
Output chunk for the raster-clip algorithm
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RasterCompleteChunk¶
Constructor¶
new RasterCompleteChunk( renderProgramIndex : number, edgesOffset : number, numEdges : number, isFullArea : boolean, area : number, minX : number, minY : number, maxX : number, maxY : number, minXCount : number, minYCount : number, maxXCount : number, maxYCount : number )¶
Instance Methods¶
withEdgeInfo( startIndex : number, endIndex : number ) : RasterCompleteChunk¶
toString() : string¶
writeEncoding( encoder : ByteEncoder )¶
Static Methods¶
readEncoding( arrayBuffer : ArrayBuffer, byteOffset : number ) : RasterCompleteChunk¶
fromArrayBuffer( arrayBuffer : ArrayBuffer ) : RasterCompleteChunk[]¶
validate( chunks : ParallelStorageArray<RasterCompleteChunk>, edges : ParallelStorageArray<RasterCompleteEdge>, numChunks : number, numEdges : number )¶
Static Properties¶
ENCODING_BYTE_LENGTH¶
(readonly)
INDETERMINATE : RasterCompleteChunk¶
(readonly)
Source Code¶
See the source for RasterCompleteChunk.ts in the alpenglow repository.