API Reference > geometry-core > Solid > RuledSweep > mutatePartners 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 - CurveCollection | undefined Returns undefined if there is any type mismatch between the two collections. Defined in core/geometry/src/solid/RuledSweep.ts Line 158 Last Updated: 13 June, 2024