Houdini 21.0 Nodes APEX nodes

CartesianToPolar

Converts a 2D cartesian coordinate to its polar coordinate.

On this page
Since 21.0

Converts a 2D cartesian coordinate to its corresponding polar coordinate representation.

Inputs

cartesian: Vector2

The 2D cartesian coordinate.

Outputs

polar: Vector2

The converted polar coordinate. The first vector component represents the radius, and the second component represents the angle theta (in radians). When the y-coordinate is positive, theta is a positive angle in the range (0, π). Otherwise, theta is a negative angle in the range (0, -π).

See also

APEX nodes