LoopStructural.datatypes.VectorPoints#

class LoopStructural.datatypes.VectorPoints(locations: numpy.ndarray = <factory>, vectors: numpy.ndarray = <factory>, name: str = 'unnamed', properties: dict | None = None)#

Bases: object

__init__(locations: ndarray = <factory>, vectors: ndarray = <factory>, name: str = 'unnamed', properties: dict | None = None) None#

Methods

__init__(locations, vectors, name, properties)

from_dict(d)

plot([pyvista_kwargs])

Calls pyvista plot on the vtk object

save(filename, *[, group])

to_dict()

vtk([geom, scale, scale_function, ...])

Attributes

name

properties

locations

vectors

plot(pyvista_kwargs={})#

Calls pyvista plot on the vtk object

Parameters:

pyvista_kwargs (dict, optional) – kwargs passed to pyvista.DataSet.plot(), by default {}