/** * Replaces oldGeo by newGeo in the current construction. This may change * the logic of the construction and is a very powerful operation * * @param oldGeo * Geo to be replaced. * @param newGeo * Geo to be used instead. * @throws Exception * i.e. for circular definition */ public void replace(GeoElement oldGeo, GeoElement newGeo) throws Exception { replace(oldGeo, newGeo, null); }
cons.replace((GeoElement) points[i], pp); points[i] = pp;
cons.replace(lastAlgo.getOutput(0), algo.getOutput(0));
cons.replace((GeoElement) point, (GeoElement) newPoint);
&& this instanceof GeoNumeric) { try { cons.replace(geo, this); } catch (Exception e) {
cons.replace((GeoElement) point, (GeoElement) newPoint, null);
cons.replace((GeoElement) point, newPoint);
cons.replace((GeoElement) p, (GeoElement) newPoint);
replaceable.getInhomY(), 0, false); try { cons.replace(replaceable.toGeoElement(), newGeo); } catch (Exception e) { e.printStackTrace();
processCasCell(cell, false); } else { cons.replace(replaceable, newGeo, info);
&& movedGeoPoint.hasChildren()) { try { this.kernel.getConstruction().replace( (GeoElement) movedGeoPoint, hits.getFirstHit(TestGeo.GEOPOINTND));
cons.replace(twinGeo, lastOutputEvaluationGeo);