Gen
Generate field of points.
gen_fop(center, resolution, radius, round_decimals=3)
¶
Generate a spherical field of points.
Snaps the provided center to the a center congruent to the resolution and radius given by the user. Then generates a spherical field of points (FOP) with radius = radius/2 with points spaced "resolution" apart.
PARAMETER | DESCRIPTION |
---|---|
center |
XYZ coordinates for the center of the pocket. |
resolution |
Distance between points which give resolution of the pocket volume calculator method.
TYPE:
|
radius |
Defines the radius of the sphere of the FOP.
TYPE:
|
round_decimals |
Number of decimals to round FOP and center to.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
field_of_points
|
a spherical field of points |
center
|
center of the field of points |