PitchKit
API Reference@pitchkit/coreFunctions

wedgeAngles()

function wedgeAngles(
   index, 
   count, 
   gap?
): Wedge;

Defined in: packages/core/src/polar/wedge.ts:15

The span of slice index of count, each slice starting on its axis angle, inset by gap radians at both edges so neighbours don't touch. A gap wider than the slice collapses it to its middle rather than inverting it.

Parameters

ParameterTypeDefault value
indexnumberundefined
countnumberundefined
gapnumber0

Returns

Wedge

On this page