newton.geometry#

Classes

BroadPhaseAllPairs

A broad phase collision detection class that performs N x N collision checks between all geometry pairs.

BroadPhaseExplicit

A broad phase collision detection class that only checks explicitly provided geometry pairs.

BroadPhaseSAP

Sweep and Prune (SAP) broad phase collision detection.

Functions

compute_shape_inertia(type, scale, src, density)

Computes the mass, center of mass and 3x3 inertia tensor of a shape

remesh_mesh(mesh[, method, ...])

Remeshes a Mesh object using the specified remeshing method.

transform_inertia(m, I, p, q)

Compute a rigid body's inertia tensor expressed in a new coordinate frame.