Skip to content

WindingMap

Overview

Representation of a winding map for a face (or an edge as a delta)

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

Class WindingMap

import { WindingMap } from 'scenerystack/alpenglow';

Constructor

new WindingMap( map : Map<RenderPath, number> )

Instance Methods

getWindingNumber( renderPath : RenderPath ) : number

addWindingNumber( renderPath : RenderPath, amount : number )

addWindingMap( windingMap : WindingMap )

equals( windingMap : WindingMap ) : boolean

Source Code

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