Skip to main content
Version: Next

magDir2D

Callable

  • magDir2D(a: Point2D): { dir: { x: number; y: number }; mag: number }

  • Parameters

    Returns { dir: { x: number; y: number }; mag: number }

    • dir: { x: number; y: number }
      • x: number
      • y: number
    • mag: number