get_shape_middle

compas_tno.utilities.get_shape_middle(shape, x, y)[source]

Get the height of the target/middle surface in the point.

Parameters
  • shape (Shape) – Shape of the masonry

  • x (float) – x-coordinate of the point to evaluate.

  • y (float) – y-coordinate of the point to evaluate.

Returns

z (float) – The middle surface evaluated in the point.