SuperCollider CLASSES


Cartesian point
Inherits from: Object
Subclasses: PointArray


Defines a point on the Cartesian plane.

Class Methods

*new (x: 0, y: 0)

Defines a new point.

Inherited class methods

Undocumented class methods

*big (x, y)

From extension in /usr/local/share/SuperCollider/SCClassLibrary/DefaultLibrary/

Instance Methods



-x = value

Get or set the x coordinate value.


-y = value

Get or set the y coordinate value.

-set (argX: 0, argY: 0)

Sets the point x and y values.


-== (aPoint)

Answers a Boolean whether the receiver equals the argument.


Returns a hash value for the receiver.


-+ (delta)


-- (delta)


-* (scale)


-/ (scale)


-translate (delta)

Addition by a Point.

-scale (scale)

Multiplication by a Point.

-rotate (angle)

Rotation about the origin by the angle given in radians.


Absolute value of the point.


Return the polar coordinate radius of the receiver.


Return the polar coordinate angle of the receiver.

-dist (aPoint)

Return the distance from the receiver to aPoint.


Return a Point whose x and y coordinates are swapped.

-round (quant)

Round the coordinate values to a multiple of quantum.

-trunc (quant)

Truncate the coordinate values to a multiple of quantum.



Returns the receiver.


Returns a complex number with x as the real part and y as the imaginary part.

-asString (limit: 512)

From superclass: Object

Return a string representing the receiver.

Inherited instance methods

Undocumented instance methods

-@ (aPoint)






From extension in /usr/local/share/SuperCollider/SCClassLibrary/DefaultLibrary/

-div (scale)

-mod (that)

-performBinaryOpOnSomething (aSelector, thing, adverb)


From extension in /usr/local/share/SuperCollider/SCClassLibrary/DefaultLibrary/