Skip to content

Repository files navigation

MidPoint Build Status

Find the midpoint of a line.

npm install midpoint

to use

midPoint([[0,0],[1,1],[2,2]]);// -> returns [1, 1]midPoint([[0,0],[1,1],[2,2],[3,3]]);// -> returns [1.5, 1.5]midPoint([[0,0],[1,1],[3,3]]);// -> returns [1.5, 1.5]

About

Find the midpoint of a line string

Resources

Stars

4 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages