digger.utils.biplanar
¶
Function for constructing a biplanar surface.
Module Contents¶
Functions¶
Return parameters to uniquely define a biplanar surface with endpoints of \((x_1, y_1)\) to \((x_2, y_2)\). |
API¶
- digger.utils.biplanar.biplanar(x1: float, y1: float, x2: float, y2: float, alpha1: float, alpha2: float, npoints: int = 100) Tuple[numpy.ndarray, numpy.ndarray] ¶
Return parameters to uniquely define a biplanar surface with endpoints of \((x_1, y_1)\) to \((x_2, y_2)\).
- Inputs:
- x1: float
Endpoint x-coordinate.
- y1: float
Endpoint y-coordinate.
- x2: float
Endpoint x-coordinate.
- y2: float
Endpoint y-coordinate.
- alpha1: float
Headscarp angle, measured counterclockwise from the postive x-axis)
- alpha2: float
Toeslope angle, measured counterclockwise from the postive x-axis)
- Outputs:
- (x, y): tuple of numpy arrays of shape (npoints,) each
The x and y coordinates tracing the biplanar shape from \((x_1, y_1)\) to \((x_2, y_2)\).