M_ANGLE::Judge

Get judgement of angle

int Judge(
    double      lowerAngle,
    double      upperAngle
);

Parameters
lowerAngle
Lower limit of angle
upperAngle
Upper limit of angle

Return Value
Return judgement result as JUDGE_OK or JUDGE_NG

Description
Get the judgement result of angle

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));

    }