distance3d.geometry.support_function_capsule

distance3d.geometry.support_function_capsule(search_direction, capsule2origin, radius, height)[source]

Compute extreme point of cylinder along a direction.

You can find similar implementations here:

Parameters:
search_directionarray, shape (3,)

Search direction.

capsule2originarray, shape (4, 4)

Pose of the capsule.

radiusfloat

Radius of the cylinder.

heightfloat

Height of the cylinder.

Returns:
extreme_pointarray, shape (3,)

Extreme point along search direction.