fractaldna.structure_models.random_placements

Functions

generate_non_overlapping_prisms(n_prisms, ...)

Generate a collection of non-overlapping prisms

get_euler_angles(rotmatrix)

Get Euler Angles from Rotation Matrix

is_separating_axis(axis, points1, points2)

test_projection(axis, points1, points2)

random_direction()

Generate a random 3-vector

random_point_in_ball([rad])

Return a point uniformly distributed in the radius 'rad' ball

Classes

Arrow3D(start, end, *args, **kwargs)

Helper class to plot arrows

Prism(center, size, axis[, rotation])

PrismList(center, extent, resolution)

A List of Non-Overlapping Rectangular Prisms