RasterEdge¶
Overview¶
Represents an edge from a RasterChunk
Used for the raster-clip input, and the output for reducible edges (that will be fed back in)
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RasterEdge¶
Constructor¶
new RasterEdge( chunkIndex : number, isFirstEdge : boolean, isLastEdge : boolean, startPoint : Vector2, endPoint : Vector2 )¶
Instance Methods¶
toString() : string¶
writeEncoding( encoder : ByteEncoder )¶
Static Methods¶
readEncoding( arrayBuffer : ArrayBuffer, byteOffset : number ) : RasterEdge¶
fromArrayBuffer( arrayBuffer : ArrayBuffer ) : RasterEdge[]¶
Static Properties¶
ENCODING_BYTE_LENGTH¶
(readonly)
INDETERMINATE : RasterEdge¶
(readonly)
Source Code¶
See the source for RasterEdge.ts in the alpenglow repository.