point_above_line#

sectionproperties.analysis.fea.point_above_line(u: npt.NDArray[np.float64], px: float, py: float, x: float, y: float) bool[source]#

Determines whether a point is a above or below a line.

Parameters:
  • u (npt.NDArray[np.float64]) – Unit vector parallel to the line, of size [1 x 2]

  • px (float) – x-coordinate of a point on the line

  • py (float) – y-coordinate of a point on the line

  • x (float) – x-coordinate of the point to be tested

  • y (float) – y-coordinate of the point to be tested

Returns:

True if the point is above the line or False if the point is below the line

Return type:

bool