newton.SDF#

class newton.SDF(volume=None, I=None, mass=1.0, com=None)#

Describes a signed distance field for simulation

volume#

The volume defining the SDF

Type:

Volume

I#

3x3 inertia matrix of the SDF

Type:

Mat33

mass#

The total mass of the SDF

Type:

float

com#

The center of mass of the SDF

Type:

Vec3

Methods

__init__([volume, I, mass, com])

__init__(volume=None, I=None, mass=1.0, com=None)#