Skip to content

trusty.surface

A body's rest boundary.

mesh

mesh(
    world: World, body: int
) -> tuple[
    ndarray[float64, (N, 3)], ndarray[int32, (N, 3)]
]

The body's rest boundary as (V, F): (V, 3) rest vertices (m) and (F, 3) outward-wound triangles indexing them, empty for a curve body. A face id is a row of F.