M_LINE::GetA

Get the straight line parameter A

double GetA(
   int  option
);

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

Return Value
Return straight line parameter A

Description
Get the straight line parameter A
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-A:", line1.GetA(0));

    }