Geometrical calculator 

It is possible to obtain dimensional information about objects parameters or, their relationship with other objects by using interactive functions that return a numeric value. The <Geometrical calculator> gives access to these interactive functions. All these functions can be used in the conversational definition of an element instead of a numeric value. They can also be used in the mathematical expressions. The <Geometrical calculator> has two modes: the first one is for viewing parameters and correlations of the objects; the second one is for putting this result as the parameter into the definition of a new element. To activate the <Geometrical calculator> in the parameter viewing mode press the button on the tool panel. Parameters and correlations between objects can be viewed in the geometrical calculator window. When the <Clear> button is pressed, the fields <Function> and <Result> will be erased.
To view an element's parameter select the button for the required parameter in the geometrical calculator window (<X>, <Y>, <R>, <A>, <M> – respectively for coordinate X, coordinate Y, radius, angle or linear size) and left click on the object in the graphic view. For example, to determine the slope angle of a line, press the <A> button and in the graphic view left click the line. The objects string from the geometrical processor function will be displayed in the <Function> field, and a numeric value will be put into the <Result> field. Any of these strings can be copied using the exchange buffer into the definition sequence in the debug panel. To view correlations between objects, press the button for the required parameter and point in the graphic view by the mouse at the required objects. For example, to check the distance from a point to a line, press the <M> button and using the mouse, left click the line and then the point (or vice versa) in the graphic view. The objects corresponding strings will be displayed in the <Function> and <Result> fields. In order to use the result of the geometrical calculator as an object's parameter, when the new object is being created, and the parameter is required, select the required parameter name near the input are, then define the required parameter/correlation between objects. When the definition is complete, press <Result> button. The obtained function will be used as a parameter of the element being created. This means that an additional parametric link has been imposed; further alteration of the basic elements will cause modification of this newly created object. For example, when defining a circle, the radius value may need to be set equal to the distance between two earlier defined points. To do so, during the circle creation press an appropriate calculator function, (<Ì> – distance between points function) and successively left mouse click on the required points. Then press <Result> button. All other geometrical calculator function can be used in a similar manner (coordinates X and Y, linear size, angle value, radius). Values can be calculated for:
The following standard mathematical operations and functions can be used in the geometrical calculator:
It is necessary to remember that two arithmetical signs cannot be used together. As well as these operators, the following standard functions are also allowed in mathematical expressions:
Where <x> the function argument, which represents a number, a variable, a mathematical function or mathematical expression;
See also: 
