Source code for pyleecan.Methods.Mesh.MeshVTK.get_point
# -*- coding: utf-8 -*-
[docs]def get_point(self, indices=None):
"""Return the array of the points coordinates.
Parameters
----------
self : MeshVTK
a MeshVTK object
indices : list
list of the points to extract (optional)
Returns
-------
points: ndarray
Points coordinates
"""
mesh = self.get_mesh(indices=indices)
return mesh.points