Skip to main content
The package has one entry, opengeometry. Its types are in index.d.ts in the installed package.

Classes and values

The methods that Wire, Solid and Sheet share are on Body methods. The display statics are on Display, and picking on Picking.

Types

Conventions

  • Points and vectors are [x, y, z]. Units are metres. Y is up.
  • Kinds are string constants, such as OG_PRIMITIVE_CUBOID, which is 'Cuboid'.
  • Every failure throws an OGError.
  • index.d.ts also declares internal members, such as handle and install. They are not part of the API; do not call them.
Last modified on November 10, 2026