Model.wadlines_createspheres#
- Model.wadlines_createspheres(double_array, radius)#
Creates sphere surfaces for testing the rear reference line of pedestrian impact.
- Parameters:
double_array (hwDoubleList) – A list of doubles that contains the 3D coordinates of the center of each sphere.
radius (double) – The radius of each sphere.
Example#
Create 2 spheres with radius 82.5#import hm import hm.entities as ent model = hm.Model() # Creating a list with the coordinates of the spheres input_double_list = [1431.92088, -727.229931, 1025.94747, 1430.19016, -722.93938, 1025.89459] model.wadlines_createspheres(double_array=input_double_list, radius=82.5)