M_XY::JudgeX

Get the judgement result of coordinate X

JudgeX(
    double      lowerX,
    double      upperX
);

Parameters
lowerX
Lower limit of coordinate X
upperX
Upper limit of coordinate X

Return Value
Return judgement result as JUDGE_OK or JUDGE_NG

Description
Get the judgement result of coordinate X

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

        // M_XY   position;         Measured data

        // get data

        int judge = position.JudgeX(ptrSetupData->lowerX, ptrSetupData->upperX);
        ptrTextWindow->DrawText(judge, TRUE, ptrProcUnit->GetText("SearchX:", position.GetX(0));

    }