layer ( graph , epsilon ? ) : { compile : ( ( ... this , ... pattern ) => any ) ; compileAll : ( ( ... this ) => { [key : string ]: number ; } [] [] ) ; count : ( ( ... this ) => any ) ; faceOrders : ( ( ... this , ... pattern ) => any ) ; gather : ( ( ... this , ... pattern ) => any ) ; gatherAll : ( ( ... this ) => { [key : string ]: number ; } [] [] ) ; leaves : ( ( ... this ) => any ) ; structure : ( ( ... this ) => any ) ; } Parameters graph : FOLD Optional
epsilon : number Returns { compile : ( ( ... this , ... pattern ) => any ) ; compileAll : ( ( ... this ) => { [key : string ]: number ; } [] [] ) ; count : ( ( ... this ) => any ) ; faceOrders : ( ( ... this , ... pattern ) => any ) ; gather : ( ( ... this , ... pattern ) => any ) ; gatherAll : ( ( ... this ) => { [key : string ]: number ; } [] [] ) ; leaves : ( ( ... this ) => any ) ; structure : ( ( ... this ) => any ) ; } a layer solution object
compile : ( ( ... this , ... pattern ) => any ) ( ... this , ... pattern ) : any Parameters Rest
... this : any Rest
... pattern : number [] Returns any compile All : ( ( ... this ) => { [key : string ]: number ; } [] [] ) ( ... this ) : { [key : string ]: number ; } [] [] Returns { [key : string ]: number ; } [] [] count : ( ( ... this ) => any ) ( ... this ) : any Returns any face Orders : ( ( ... this , ... pattern ) => any ) ( ... this , ... pattern ) : any Parameters Rest
... this : any Rest
... pattern : number [] Returns any gather : ( ( ... this , ... pattern ) => any ) ( ... this , ... pattern ) : any Parameters Rest
... this : any Rest
... pattern : number [] Returns any gather All : ( ( ... this ) => { [key : string ]: number ; } [] [] ) ( ... this ) : { [key : string ]: number ; } [] [] Returns { [key : string ]: number ; } [] [] leaves : ( ( ... this ) => any ) ( ... this ) : any Returns any structure : ( ( ... this ) => any ) ( ... this ) : any Returns any
a FOLD object with folded vertices in 2D