Skip to content

PolygonBilinear

Overview

Utilities for the bilinear/tent filter for polygons

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

Class PolygonBilinear

import { PolygonBilinear } from 'scenerystack/alpenglow';

Static Methods

evaluate( p0x : number, p0y : number, p1x : number, p1y : number ) : number

evaluatePolygons( polygons : Vector2[][], pointX : number, pointY : number, minX : number, minY : number ) : number

evaluateLinearEdges( edges : LinearEdge[], pointX : number, pointY : number, minX : number, minY : number ) : number

Source Code

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