Difference between revisions of "Redefine Dialog"

From GeoGebra Manual
Jump to: navigation, search
(added code formatting)
m
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>
 
{{gui|dialog}}
 
{{gui|dialog}}
 +
Redefining objects is a very versatile way to change a construction. Please note that this may also change the order of the construction steps in the [[File:Menu view construction protocol.svg|link=|16px]] [[Construction Protocol]].
  
Redefining objects is a very versatile tool to change a construction. Please note that this may also change the order of the construction steps in the [[Construction Protocol]].
+
{{note|The redefined element can only depend on elements defined earlier in the construction order, so you may need to change order of the elements in [[File:Menu view construction protocol.svg|link=|16px]] [[Construction Protocol]].}}
 +
<br>
 +
In GeoGebra, an object may be redefined in different ways:
  
{{note|The redefined element can only depend on elements defined before -- you may need to change order of the elements in [[Construction Protocol]].}}
+
* Select [[File:Mode move.svg|link=|22px]][[Move Tool]] and double click on any object in the [[File:Menu view algebra.svg|link=|16px]] [[Algebra View]].
 +
** For free objects an editing field is opened allowing you to directly change the algebraic representation of the object. Hit the {{KeyCode|Enter}} key in order to apply these changes.
 +
** For dependent objects the Redefine dialog is opened allowing you to redefine the object.
 +
* Select [[File:Mode move.svg|link=|22px]][[Move Tool]] and double click on any object in the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]]. This opens the Redefine dialog and allows you to redefine the object.
 +
*Change any object by entering its name and the new definition into the [[Input Bar]].
 +
*Open the [[File:Menu-options.svg|link=|16px]] [[Properties Dialog]] and change the definition of an object on tab ''Basic''.
 +
{{note|1=<div>Fixed objects cannot be redefined. In order to redefine a fixed object, you need to free it first using tab ''Basic'' of the [[File:Menu-options.svg|link=|16px]] ''Properties Dialog''.</div>}}
  
In GeoGebra, an object may be redefined in different ways:
+
{{note|1=<div>You can also redefine existing objects in the ''Input Bar''. For example type <code><nowiki>a:Segment[A, B]</nowiki></code> to redefine <code><nowiki>a</nowiki></code> to be a segment.</div>}}
  
* Select [[Image:Tool Move.gif]] [[Move Tool]] and double click on any object in the [[Algebra View]].
 
** For free objects an editing field is opened allowing you to directly change the algebraic representation of the object. Hit the Enter-key in order to apply these changes.
 
** For dependent objects the Redefine dialog is opened allowing you to redefine the object.
 
* Select [[Image:Tool Move.gif]] [[Move Tool]] and double click on any object in the [[Graphics View]]. This opens the Redefine dialog and allows you to redefine the object.
 
**Change any object by entering its name and the new definition into the Input Bar.
 
**Open the Properties Dialog and change the definition of an object on tab Basic.
 
{{note|Fixed objects cannot be redefined. In order to redefine a fixed object, you need to free it first using tab Basic of the [[Properties Dialog]].}}
 
  
 
===Examples===
 
===Examples===
{{example|1=In order to place a free point A on an existing line h, you first need to double click on the point A to open the Redefine dialog window. Then, enter the command <code>Point[h]</code> in the appearing text field and press the Enter-key. To remove point A from this line and make it free again, you need to redefine it to some free coordinates like (1, 2).}}
+
{{example|1=In order to place an existing free point A onto an existing line h, you first need to double click on the point A to open the Redefine dialog window. Then change the definition to <code>Point[h]</code> in the appearing text field and press {{KeyCode|Enter}}. To remove point A from this line and make it free again, you need to redefine it to some free coordinates, e.g. (1, 2).}}
{{example|1=Another example is the conversion of a line h through two points A and B into a segment. Open the Redefine dialog for line h and enter the command <code>Segment[A, B]</code> in the appearing text field.}}
+
{{example|1=Another example is the conversion of a line h through two points A and B into a segment. Open the Redefine dialog for line h and change <code>Line[A, B]</code> into <code>Segment[A, B]</code>}}

Latest revision as of 10:58, 23 October 2015


Redefining objects is a very versatile way to change a construction. Please note that this may also change the order of the construction steps in the Menu view construction protocol.svg Construction Protocol.

Note: The redefined element can only depend on elements defined earlier in the construction order, so you may need to change order of the elements in Menu view construction protocol.svg Construction Protocol.


In GeoGebra, an object may be redefined in different ways:

  • Select Mode move.svgMove Tool and double click on any object in the Menu view algebra.svg Algebra View.
    • For free objects an editing field is opened allowing you to directly change the algebraic representation of the object. Hit the Enter key in order to apply these changes.
    • For dependent objects the Redefine dialog is opened allowing you to redefine the object.
  • Select Mode move.svgMove Tool and double click on any object in the Menu view graphics.svg Graphics View. This opens the Redefine dialog and allows you to redefine the object.
  • Change any object by entering its name and the new definition into the Input Bar.
  • Open the Menu-options.svg Properties Dialog and change the definition of an object on tab Basic.
Note:
Fixed objects cannot be redefined. In order to redefine a fixed object, you need to free it first using tab Basic of the Menu-options.svg Properties Dialog.
Note:
You can also redefine existing objects in the Input Bar. For example type a:Segment[A, B] to redefine a to be a segment.


Examples

Example: In order to place an existing free point A onto an existing line h, you first need to double click on the point A to open the Redefine dialog window. Then change the definition to Point[h] in the appearing text field and press Enter. To remove point A from this line and make it free again, you need to redefine it to some free coordinates, e.g. (1, 2).
Example: Another example is the conversion of a line h through two points A and B into a segment. Open the Redefine dialog for line h and change Line[A, B] into Segment[A, B]
© 2021 International GeoGebra Institute