Read GSLib Point Set

Read GSLib point set file

# sphinx_gallery_thumbnail_number = 1
import pyvista
from pyvista import examples
from PVGeo.gslib import GSLibPointSetReader
points_url = ''
filename, _ = examples.downloads._retrieve_file(points_url, 'b_100sampledatawl.sgems')

point_set = GSLibPointSetReader().apply(filename)


PolyData (0x7f23c3c55948)
  N Cells:      100
  N Points:     100
  X Bounds:     3.000e+00, 2.520e+02
  Y Bounds:     1.000e+00, 2.980e+02
  Z Bounds:     0.000e+00, 0.000e+00
  N Scalars:    1

Total running time of the script: ( 0 minutes 0.584 seconds)

Gallery generated by Sphinx-Gallery