Skip to content

agonzalezl/geomescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geomescript

Geomescript is a TypeScript library for working with 2D geometry. It provides classes and functions for points, vectors, and segments, as well as utilities for working with geometric objects.

Installation

To install Geomescript in your project, run:

npm install --save agonzalezl/geomescript

Usage

To use Geomescript in your TypeScript project, you can import the desired classes and functions like this:

import { Point, Vector, Segment } from 'geomescript';

const p1 = new Point(0, 0);
const p2 = new Point(3, 4);
const v = Vector.fromPoints(p1, p2);
const s = new Segment(p1, p2);

About

TypeScript library for simple geometric operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages