/usr/share/SuperCollider/HelpSource/Classes/Polar.schelp is in supercollider-common 1:3.8.0~repack-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | class:: Polar
summary:: Polar coordinates
related:: Classes/Point, Classes/Complex
categories:: Math
description::
Represents polar coordinates.
classmethods::
method:: new
Create a new polar coordinate with the given radius, rho, and angle in radians, theta.
instancemethods::
subsection:: Math
method:: +, -, *, /
The math operations of addition, subtraction, multiplication and division are accomplished by
first converting to complex numbers.
method:: scale
Scale the radius by some value.
method:: rotate
Rotate the angle by some value.
method:: neg
Rotate by pi.
subsection:: Conversion
method:: magnitude
Answer the radius.
method:: angle
Answer the angle in radians
method:: phase
Answer the angle in radians
method:: real
Answer the real part.
method:: imag
Answer the imaginary part.
method:: asComplex
Convert to Complex
method:: asPoint
Convert to Point
|