resqpy.linesΒΆ

Polyline and PolylineSet classes and associated functions.

Classes

Polyline

Class for RESQML polyline representation.

PolylineSet

Class for RESQML polyline set representation.

Functions

flatten_polyline

Returns a new polyline object, flattened (projected) on a chosen axis to a given value.

load_hdf5_array

Loads the property array data as an attribute of object, from the hdf5 referenced in xml node.

shift_polyline

Returns a new polyline object, shifted by given coordinates.

spline

Returns a numpy array containing resampled cubic spline of line defined by points.

tangents

Returns a numpy array of tangent unit vectors for an ordered list of points.