mymesh.implicit.xplane#

mymesh.implicit.xplane(x0, n=1)[source]#

Implicit function of a plane whose normal direction is along the x axis.

Parameters:
  • x0 (float) – Coordinate along the x axis of the plane. x0 = 0 corresponds to the yz plane.

  • n (int, optional) – Direction (1 or -1), or a scaling factor, by default 1. If n > 0, the function will be negative when evaluated above x0.

Returns:

func – Implicit function of three parameters (x, y, z)

Return type:

function