modeling/geometries

Geometries are objects that represent the contents of primitives or the results of operations. Note: Geometries are considered immutable, so never change the contents directly.

Source:
See:
  • geom2 - 2D geometry consisting of sides
  • geom3 - 3D geometry consisting of polygons
  • path2 - 2D geometry consisting of ordered points
  • poly2 - 2D polygon consisting of ordered vertices
  • poly3 - 3D polygon consisting of ordered vertices
Example
const { geom2, geom3, path2, poly2, poly3 } = require('@jscad/modeling').geometries