LoopStructural.datatypes.VectorPoints#
- class LoopStructural.datatypes.VectorPoints(locations: numpy.ndarray, vectors: numpy.ndarray, name: str, properties: dict | None = None)#
Bases:
object
- __init__(locations: ndarray, vectors: ndarray, name: str, 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)to_dict
()vtk
([geom, scale, scale_function, ...])Attributes
properties
locations
vectors
name
- plot(pyvista_kwargs={})#
Calls pyvista plot on the vtk object
- Parameters:
pyvista_kwargs (dict, optional) – kwargs passed to pyvista.DataSet.plot(), by default {}