예제 #1
0
    //Distance trapezoidal number functions
    public float distNear(float distance)
    {
        LeftTrapezoid dNear = new LeftTrapezoid(5, 10);

        return(dNear.getOutPut(distance));
    }
예제 #2
0
    //Status trapezoidal number functions
    public float Green(float time)
    {
        LeftTrapezoid green = new LeftTrapezoid(2, 6);

        return(green.getOutPut(time));
    }