CurvePrimitiveMutator Type

CurvePrimitiveMutator = (primitiveA: CurvePrimitive, primitiveB: CurvePrimitive) => CurvePrimitive | undefined

Type for a function argument taking 2 curves and returning another curve or failing with undefined.

  • This is used (for instance) by RuleSweep.mutatePartners.

Defined in

Last Updated: 18 January, 2025