def getToothProfile(derivation, pitchRadius, teeth):
 if (teeth < 0):
  return getToothProfileAnnulus(derivation, pitchRadius, teeth)
 if (teeth == 0):
  return getToothProfileRack(derivation)
 return getToothProfileCylinder(derivation, pitchRadius, teeth)

def getToothProfile ( derivation , pitchRadius , teeth ) : if ( teeth < 0 ) : return getToothProfileAnnulus ( derivation , pitchRadius , teeth ) if ( teeth == 0 ) : return getToothProfileRack ( derivation ) return getToothProfileCylinder ( derivation , pitchRadius , teeth )
get profile for one tooth .