xyz_from_q
- compas_tno.algorithms.xyz_from_q(q, Pi, Xb, Ci, Cit, Cb, SPLU_D=None)
Calculate coordinates’s xyz the q’s.
- Parameters:
- qarray [m x 1]
Force densities of all edges.
- Piarray [ni x 3]
External forces applied to the free vertices.
- Xbarray [nb x 3]
Position of the fixed vertices.
- Ciarray [m x ni]
Connectivity matrix on the free vertices
- Citarray [ni x m]
Transpose of connectivity matrix on the free vertices
- Cbarray [m x nb]
Connectivity matrix on the fixed vertices
- SPLU_Dcallable, optional
Sparse LU decomposition of CitQCi to speed up optimisation, by default None
- Returns:
- Xfreearray [ni x 3]
x, y, z coordinates of the nodes