use of com.ramussoft.pb.idef.elements.SectorRefactor.PerspectivePoint in project ramus by Vitaliy-Yakovchuk.
the class MovingArea method fillMovingArea.
private void fillMovingArea() {
final SectorRefactor.PerspectivePoint pp = new SectorRefactor.PerspectivePoint();
pp.x = mp.x;
pp.y = mp.y;
if (getPointChangingType() == SectorRefactor.TYPE_END) {
pp.borderType = MovingFunction.RIGHT;
PerspectivePoint point = refactor.getPoint(SectorRefactor.TYPE_START);
if (point != null)
pp.y = point.y;
} else {
pp.borderType = MovingFunction.LEFT;
PerspectivePoint point = refactor.getPoint(SectorRefactor.TYPE_END);
if (point != null)
pp.y = point.y;
}
int pointChangingType = getPointChangingType();
pp.type = pointChangingType;
refactor.setPoint(pp);
}
Aggregations