M_LINE::GetC

Get the straight line parameter C

double GetC(
   int  option
);

Parameters
option
mode select
0:for output, 1:for display

Return Value
Return straight line parameter C

Description
Get the straight line parameter C
Straight line is defined by AX+BY+C=0.

Example
    int Sample::MeasureDispT(ProcUnit *ptrProcUnit, int subNo, TextWindow *ptrTextWindow)
    {

        // M_LINE   line1;          Measured data

        // get data

        int judge = JUDGE_OK;
        ptrTextWindow->DrawText(judge, TRUE, ptrProcUnit->GetText("Line-C:", line1.GetC(0));

    }