LineSet¶
-
class
subsurface.structs.unstructured_elements.
LineSet
(data: subsurface.structs.base_structures.unstructured_data.UnstructuredData, radius: float = 1)[source]¶ Bases:
object
PointSet with line cells.
This dataset defines cell connectivity between points to create line segments.
- Parameters
data (UnstructuredData) –
Base object for unstructured data.
data.cells represent the indices of the end points for each line segment in the mesh. Each column corresponds to a line segment. If not specified, the vertices are connected in order, equivalent to
segments=[[0, 1], [1, 2], [2, 3], ...]
radius (float) – Thickness of the line set
Attributes Summary
Methods Summary
Method to generate cells based on the order of the vertex.
Attributes Documentation
-
n_segments
¶
-
segments
¶
Methods Documentation