// StarDelta.h: Interface for module StarTriangle
//////////////////////////////////////////////////////////////////////

#if !defined (STARDELTA_H_INCLUDED)
#define STARDELTA_H_INCLUDED

#define PRIVATE static

void SetStarValues(double dR1New, double dR2New, double dR3New);
void SetDeltaValues(double dRaNew, double RbNew, double dRcNew);

// conversation functions

void StarToDelta();
void DeltaToStar();

void ShowValues();

// resistance between terminals

PRIVATE double RStar  (int nT1, int nT2);
PRIVATE double RDelta (int nT1, int nT2);

#endif // !defined(STARTRIANGLE_H_INCLUDED)