/** copy constructor - avoid clone !! */ public ProjectionImpl constructCopy() { return new FlatEarth( getOriginLat(), getOriginLon(), getRotationAngle()); }
/** * origin */ //private LatLonPointImpl origin; // why are we keeping this? @Override public ProjectionImpl constructCopy() { ProjectionImpl result = new FlatEarth(getOriginLat(), getOriginLon(), getRotationAngle()); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
/** * origin */ //private LatLonPointImpl origin; // why are we keeping this? @Override public ProjectionImpl constructCopy() { ProjectionImpl result = new FlatEarth(getOriginLat(), getOriginLon(), getRotationAngle()); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
/** * origin */ //private LatLonPointImpl origin; // why are we keeping this? @Override public ProjectionImpl constructCopy() { ProjectionImpl result = new FlatEarth(getOriginLat(), getOriginLon(), getRotationAngle()); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }