3point

1.1.2 • Public • Published

3point

Node.js implementation of the classic 3 point problem for geology.

Coordinate convention:

x: easting
y: northing
z: elevation

Installation

After installing Node.js type the following into the command prompt:

npm install -g 3point

Data File Preparation

3point needs a json formatted file with 3 xyz points. The file structure looks like this:

    {
        "data": [
            {
                "x": 38014.44,
                "y": -5180.96,
                "z": 3140.69
            },
            {
                "x": 36198.1,
                "y": 646.78,
                "z": -2208.91
            },
            {
                "x": 37421.48,
                "y": -6013.6,
                "z": -2195.51
            }
        ]
    }

Usage

3point data.json

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i 3point

    Weekly Downloads

    7

    Version

    1.1.2

    License

    none

    Last publish

    Collaborators

    • danielchilds