M_ANGLE::Get

Get the judgement result of angle

double Get(
   int  option
);

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

Return Value
Return the angle value

Description
Get the angle value.

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

        // M_ANGLE   angle;         Measured data

        // get data

        int judge = angle.Judge(ptrSetupData->lowerAngle, ptrSetupData->upperAngle);
        ptrTextWindow->DrawText(judge, TRUE, ptrProcUnit->GetText("Angle:", angle.Get(0));

    }