CShape.get_trace

CShape.get_trace(n_theta: int = 100) tuple[ndarray[float], ndarray[float]][source]

Returns the trace of the geometry as a list of points.

Parameters:

n_theta (int, optional) – number of coordinate point returned, by default 100

Returns:

A tuple containing two lists: y-coordinates and z-coordinates of points in the shape boundaries.

Return type:

tuple[np.ndarray[float], np.ndarray[float]]