mesh.Mesh.points_at#
- Mesh.points_at(rst)#
Compute points at parametric values.
Parameters#
- rst: array_like
A float array with shape (ndim, npts) specifying the parameter values for the point to be computed.
Returns#
- coords: Coords
A Coords array of shape (n_elems, npts, 3) with npts points at parametric values rst for each element.
Examples#
>>> M = Mesh(eltype='quad4').subdivide(2,1) >>> pts = M.points_at([[0.5, 0.2],[0.5, 0.2]]) >>> print(pts) [[[0.25 0.5 0. ] [0.1 0.2 0. ]] [[0.75 0.5 0. ] [0.6 0.2 0. ]]]