package cnp.ew.diagram;

import java.awt.*;

import cnp.ew.lightweight.*;

public class CpLinePointLocator implements CpLocator
{
    int index;

    public CpLinePointLocator(int newIndex)
    {
        index = newIndex;
    }

    public Point getPoint(CpDiagrammableLc g)
    {
        return ((CpDependentLineLc)g).getPoint(index);
    }
}