WindingMap¶
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/cag/WindingMap.ts for the most up-to-date information.
Overview¶
Representation of a winding map for a face (or an edge as a delta)
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class WindingMap¶
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.