M_XY::JudgeY

Get the judgement result of coordinate Y

int JudgeY(
    double      lowerY,
    double      upperY
);

Parameters
lowerY
Lower limit of coordinate Y
upperY
Upper limit of coordinate Y

Return Value
Return judgement result as JUDGE_OK or JUDGE_NG

Description
Get the judgement result of coordinate Y

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

        // M_XY   position;         Measured data

        // get data

        int judge = position.JudgeY(ptrSetupData->lowerY, ptrSetupData->upperY);
        ptrTextWindow->DrawText(judge, TRUE, ptrProcUnit->GetText("SearchY:", position.GetY(0));

    }