distance3d.geometry.support_function_cylinder

distance3d.geometry.support_function_cylinder(search_direction, cylinder2origin, radius, length)[source]

Compute extreme point of cylinder along a direction.

You can find similar implementations here:

Parameters:
search_directionarray, shape (3,)

Search direction.

cylinder2originarray, shape (4, 4)

Pose of the cylinder.

radiusfloat

Radius of the cylinder.

lengthfloat

Radius of the cylinder.

Returns:
extreme_pointarray, shape (3,)

Extreme point along search direction.