Void setCoords(String objName, double x, double y, double z) Void setCoords(String objName, double x, double y) Sets the value of the list element at position 'i' to 'value' Void setListValue(String objName, int i, double value) For any other object type, nothing is done. Sets the text value of the object with the given name. Void setTextValue(String objName, String value) Note: if the specified object is boolean, use a value of 1 to set it to true and any other value to set it to false. Sets the double value of the object with the given name. Void setValue(String objName, double value) Setting the state of objects General methods Method SignatureĪffects or not the status of "auxiliary object" to object geo. Useful if you want the user to be able to undo that action of evalCommand eg if you have made an HTML button to act as a custom tool Passes the string to GeoGebra's CAS and returns the result as a String. Like evalCommand(), but the return value is a String containing a comma-separated list of the labels of the created objects eg "A,B,C" String evalCommandGetLabels(String cmdString) Note: you must use English commands names Returns whether command evaluation was successful.įrom GeoGebra 3.2 you can pass multiple commands at once by separating them with \n. Commands and Undo-Points Method SignatureĮvaluates the given string just like it would be evaluated when entered into GeoGebra's input bar. Note: Arguments in square brackets can be omitted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |