Type Definition parry3d::shape::HeightField

source · []
Expand description

A 3D heightfield.

Implementations

Initializes a new heightfield with the given heights and a scaling factor.

Trait Implementations

Clones this shape into a boxed trait-object.

Computes the AABB of this shape.

Computes the bounding-sphere of this shape.

Computes the AABB of this shape with the given position.

Compute the mass-properties of this shape given its uniform density.

Gets the type tag of this shape.

Gets the underlying shape as an enum.

Computes the bounding-sphere of this shape with the given position.

Is this shape known to be convex? Read more

Convents this shape into its support mapping, if it has one.

Converts this shape to a polygonal feature-map, if it is one.

The shape’s normal at the given point located on a specific feature.

Computes the swept AABB of this shape, i.e., the space it would occupy by moving from the given start position to the given end position. Read more