- divide(a, b): Point
- divide(a, b): Point3d
- divide(a, x, y): Point
Parameters
- a: Point
- x: number
- y: number
- divide(a, x, y, z): Point3d
Parameters
- a: Point3d
- x: number
- y: number
- z: number
- divide(ax, ay, bx, by): Point
Parameters
- ax: number
- ay: number
- bx: number
- by: number
- divide(ax, ay, az, bx, by, bz): Point3d
Parameters
- ax: number
- ay: number
- az: number
- bx: number
- by: number
- bz: number
Returns a Point with the x,y,z values of two points divide (a/b).
z
parameter is used, if present. Uses a default value of 0 for 'z' when dividing a 2D point with a 3D one.Examples: