Skip to content

RasterCompleteEdge

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/parallel/raster-clip/RasterCompleteEdge.ts for the most up-to-date information.

Overview

Represents an edge from a RasterCompleteEdgeChunk

Output edge for the raster-clip algorithm

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

Class RasterCompleteEdge

import { RasterCompleteEdge } from 'scenerystack/alpenglow';

Constructor

new RasterCompleteEdge( startPoint : Vector2, endPoint : Vector2 )

Instance Methods

toString() : string

writeEncoding( encoder : ByteEncoder )

Static Methods

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

fromArrayBuffer( arrayBuffer : ArrayBuffer ) : RasterCompleteEdge[]

Static Properties

ENCODING_BYTE_LENGTH

(readonly)

INDETERMINATE : RasterCompleteEdge

(readonly)

Source Code

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