1extern void bestVmg (
double tws,
PolMat *mat,
double *vmgAngle,
double *vmgSpeed);
2extern void bestVmgBack (
double tws,
PolMat *mat,
double *vmgAngle,
double *vmgSpeed);
5extern char *
polToStrJson (
bool report,
const char *fileName,
const char *objName,
char *out,
size_t maxLen);
char * polToStrJson(bool report, const char *fileName, const char *objName, char *out, size_t maxLen)
write polar information in string Json format
void bestVmgBack(double tws, PolMat *mat, double *vmgAngle, double *vmgSpeed)
return VMG back: angle and speed at TWS: vent arriere
void bestVmg(double tws, PolMat *mat, double *vmgAngle, double *vmgSpeed)
return VMG: angle and speed at TWS: pres
bool readPolar(const char *fileName, PolMat *mat, PolMat *sailPolMat, char *errMessage, size_t maxLen)
Launch readPolarCsv or readPolarJson according to type.
char * polToStr(const PolMat *mat, char *str, size_t maxLen)
write polar information in string
PolMat sailPolMat
polar matrix for sails