mutatePartners MethodStatic

Construct a CurveCollection with the same structure as collectionA and collectionB, with primitives constructed by the caller-supplied primitiveMutator function.

mutatePartners(collectionA: CurveCollection, collectionB: CurveCollection, primitiveMutator: CurvePrimitiveMutator): CurveCollection | undefined

Parameter Type Description
collectionA CurveCollection  
collectionB CurveCollection  
primitiveMutator CurvePrimitiveMutator  

Returns - Returns undefined if there is any type mismatch between the two collections.

Defined in

Last Updated: 05 June, 2020