manual:chapter3:angles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:chapter3:angles [2019/07/25 15:49]
claudio [Working with Angles]
manual:chapter3:angles [2019/07/25 15:51]
claudio [Working with Angles]
Line 29: Line 29:
 Basic arithmetic operations can also be applied to angle objects: Basic arithmetic operations can also be applied to angle objects:
  
-''∡90° ∡50° +'' yields ''∡135°''+''∡90° ∡45° +'' yields ''∡135°''
  
 ''∡1.57r ∡50° -'' yields ''∡0.6973r'' ''∡1.57r ∡50° -'' yields ''∡0.6973r''
Line 41: Line 41:
   * Addition and subtraction between angles returns an angle expressed in the system of the first argument. For example ''∡1.57r ∡50° -'' yields ''∡0.6973r''   * Addition and subtraction between angles returns an angle expressed in the system of the first argument. For example ''∡1.57r ∡50° -'' yields ''∡0.6973r''
  
-  * Addition and subtraction between an angle and a real number will interpret the real number as an angle given in the [[manual:chapter2:interface|current angle mode]]. The result will be an angle expressed in the system of the first argument (current mode if the first argument is the real number). For example ''∡90° 50 +'' yields ''∡135°''.+  * Addition and subtraction between an angle and a real number will interpret the real number as an angle given in the [[manual:chapter2:interface|current angle mode]]. The result will be an angle expressed in the system of the first argument (current mode if the first argument is the real number). For example ''∡90° 45 +'' yields ''∡135°''.
  
   * Multiplication of an angle by a real number will result in an angle in the given format. For example ''∡90° 2 *''  yields ''∡180°''.   * Multiplication of an angle by a real number will result in an angle in the given format. For example ''∡90° 2 *''  yields ''∡180°''.
  • manual/chapter3/angles.txt
  • Last modified: 2019/07/25 16:09
  • by claudio