Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:chapter3:angles [2019/07/25 15:49] claudio [Working with Angles] |
manual:chapter3:angles [2019/07/25 16:09] (current) 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: | ||
- | '' | + | '' |
'' | '' | ||
- | '' | + | '' |
'' | '' | ||
Line 41: | Line 41: | ||
* Addition and subtraction between angles returns an angle expressed in the system of the first argument. For example '' | * Addition and subtraction between angles returns an angle expressed in the system of the first argument. For example '' | ||
- | * Addition and subtraction between an angle and a real number will interpret the real number as an angle given in the [[manual: | + | * Addition and subtraction between an angle and a real number will interpret the real number as an angle given in the [[manual: |
* Multiplication of an angle by a real number will result in an angle in the given format. For example '' | * Multiplication of an angle by a real number will result in an angle in the given format. For example '' | ||
Line 49: | Line 49: | ||
* Commands and functions that accept angles as arguments will consider that a real number is an angle expressed in the [[manual: | * Commands and functions that accept angles as arguments will consider that a real number is an angle expressed in the [[manual: | ||
- | * For all other operations and commands, including those that don't accept angles as arguments, angles will be converted to radians and become normal real numbers. | + | * For all other operations and commands, including those that don't accept angles as arguments, angles will be converted to radians and become normal real numbers. Notice that radians will be used, regardless of the current angle mode. For example '' |
+ | |||
+ | * The system is capable of tracking the behavior mentioned above, therefore if an operation results in an angle being forced into radians, commands that accept angles as arguments (like SIN, COS and TAN) will interpret a number as radians, rather than the current angle mode. For example '' | ||