weldx.geometry.SpatialData#

class weldx.geometry.SpatialData(coordinates, triangles=None, attributes=None, time=None)#

Represent 3D point cloud data with optional triangulation.

Methods

from_file

Create an instance from a file.

from_geometry_raster

Triangulate rasterized Geometry Profile.

limits

Get the xyz limits of the coordinates.

plot

Plot the spatial data.

to_file

Write spatial data into a file.

Attributes

additional_dims

Return the list of array dimension besides the required 'c' dimension.

attributes

optional dictionary with additional attributes to store alongside data.

is_time_dependent

Return True if the coordinates are time dependent.

time

The time axis if data is time dependent.

triangles

3D Array of triangulation connectivity.

coordinates

3D array of point data.