FractalDNA
Structure Models
DNA Models
Examples
API Reference
fractaldna.structure_models
fractaldna.structure_models.hilbert
fractaldna.structure_models.random_placements
fractaldna.structure_models.random_placements.generate_non_overlapping_prisms
fractaldna.structure_models.random_placements.get_euler_angles
fractaldna.structure_models.random_placements.is_separating_axis
fractaldna.structure_models.random_placements.random_direction
fractaldna.structure_models.random_placements.random_point_in_ball
fractaldna.structure_models.random_placements.Arrow3D
fractaldna.structure_models.random_placements.Prism
fractaldna.structure_models.random_placements.PrismList
fractaldna.structure_models.voxelisation
fractaldna.dna_models
fractaldna.utils
fractaldna.exceptions
FractalDNA
API Reference
fractaldna.structure_models
fractaldna.structure_models.random_placements
fractaldna.structure_models.random_placements.random_direction
View page source
fractaldna.structure_models.random_placements.random_direction
¶
fractaldna.structure_models.random_placements.
random_direction
(
)
¶
Generate a random 3-vector
Return type
:
array
Returns
:
euler angles for a random direction