Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bluemath/geom

bluemathsoft39Apache-2.00.2.2TypeScript support: included

Bluemath Geometry library

Math, Geometry, NURBS, Curves, Surfaces, Bezier, BSpline

readme

@bluemath/geom

Geometry submodule of BlueMath.

NPM packageDocsTestsPlayground

  • Implementation of basic NURBS primitives

    • Bezier Curves
    • BSpline Curves
    • Bezier Surfaces
    • BSpline Surfaces
  • Tessellation (fixed resolution or adaptive) of curves and surfaces

  • Fundamental NURBS algorithms of NURBS

    • Knot insertion
    • Knot refinement
    • Decomposition of BSpline curves and surfaces into Bezier curves and surfaces
  • Definition of regular geometry in terms of NURBS

    • Line
    • Circle
    • Bilinear Surface
    • Cylinder
    • Surface of revolution (Sphere, Cone, Torus)

Usage

npm install @bluemath/geom