Search in sources :

Example 1 with AbstractCrosspoint

use of com.ramussoft.pb.data.AbstractCrosspoint in project ramus by Vitaliy-Yakovchuk.

the class NSector method rMe.

private void rMe(final SectorBorder sb) {
    Crosspoint c = sb.getCrosspoint();
    if (c == null) {
        c = ((NSectorBorder) sb).crosspoint;
        ((NSectorBorder) sb).crosspoint = null;
    }
    if (c == null)
        return;
    ((AbstractCrosspoint) c).remove1(this);
}
Also used : AbstractCrosspoint(com.ramussoft.pb.data.AbstractCrosspoint) Crosspoint(com.ramussoft.pb.Crosspoint) AbstractCrosspoint(com.ramussoft.pb.data.AbstractCrosspoint)

Aggregations

Crosspoint (com.ramussoft.pb.Crosspoint)1 AbstractCrosspoint (com.ramussoft.pb.data.AbstractCrosspoint)1