xyz_square¶
- marxs.math.geometry.xyz_square(geometry, r_factor=1)[source]¶
Generate Eukledian positions for the corners of a square.
The square is centered on the center of the object and the edges are given by
v_yandv_z.Parameters¶
- r_factorfloat
Scaling factor for the square.
Returns¶
- boxnp.array of shape (4, 3)
Eukledian coordinates of the corners of the square in 3d space.