aspsim.room.generatepoints

Functions

cart2pol(x, y)

Transforms the provided cartesian coordinates to polar coordinates

cart2spherical(cart_coord)

Transforms the provided cartesian coordinates to spherical coordinates

concentrical_circles(num_points, ...[, ...])

equiangular_circle(num_points, radius[, ...])

Generates equiangularly spaced points on a circle

equidistant_rectangle(num_points, side_lengths)

Points are spaced evenly along the edge of a rectangle

equidistant_rectangle_for_fewer(num_points, dims)

equidistant_rectangle_old(num_points, dims)

four_equidistant_rectangles(num_points, ...)

pol2cart(r, angle)

Transforms the provided polar coordinates to cartesian coordinates

spherical2cart(r, angle)

Transforms the provided spherical coordinates to cartesian coordinates

stacked_equidistant_rectangles(num_points, ...)

sunflower_pattern(N, radius[, offset_angle])

translated from user3717023's MATLAB code from stackoverflow could be updated using the method in this paper 'A better way to construct the sunflower head'

uniform_cylinder(num_points, radius, height)

uniform_disc(point_distance, radius[, z_axis])

uniform_filled_cuboid(num_points, dims[, ...])

uniform_filled_rectangle(num_points[, lim, ...])