@id-sdk/vector

Vector (coordinate) math functions


Keywords
sdk
License
ISC
Install
npm install @id-sdk/vector@3.0.0-pre.6

Documentation

build

rapid-sdk

Map editing made easy

What is it?

This project contains code for processing and editing map data. Our goal is to provide a shared foundation upon which developers can build map editors, data processors, validators, and other innovative tools.

This code is used by the Rapid map editor.

Documentation

The modules and methods are documented at rapideditor.github.io/rapid-sdk.

Contributing

This project is just getting started! 🌱

We're not able to support external contributors at this time, but check back in a bit when things have matured.

Packages

math

🧳 @rapid-sdk/math

Includes:

  • ⭐️ Math Constants

  • 🌐 Geographic (spherical) math functions

  • 📈 Geometric (planar) math functions

  • 🔢 Number math functions

  • 📐 Vector math functions

  • 📦 Extent class for working with bounding boxes

  • 🀄️ Tiler class for splitting the world into rectangular tiles

  • 🕹️ Transform class for managing translation, scale, rotation

  • 📺 Viewport class for managing view state and converting between Lon/Lat (λ,φ) and Cartesian (x,y) coordinates

util

🧳 @rapid-sdk/util