API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classPolarVector
@codexo/exojs / math / stable
A 2D vector expressed in polar coordinates: `radius` (magnitude) and `phi` (angle in radians, measured from the positive X-axis).
2
props
2
methods
0
events
Import
import { PolarVector } from '@codexo/exojs' A 2D vector expressed in polar coordinates: `radius` (magnitude) and `phi` (angle in radians, measured from the positive X-axis).
Constructors 1
new(radius: number, angle: number): PolarVector Methods 2
toVector(): Vector fromVector(vector: Vector): PolarVector Properties 2
phi: number radius: number Source