SimPEG.utils.define_plane_from_points#
- SimPEG.utils.define_plane_from_points(xyz1, xyz2, xyz3)[source]#
Compute constants defining a plane from a set of points.
The equation defining a plane has the form \(ax+by+cz+d=0\). This utility returns the constants a, b, c and d defining the plane.
- Parameters
- xyz1(3)
numpy.ndarray
First point needed to define the plane (x1, y1, z1)
- xyz2(3)
numpy.ndarray
Second point needed to define the plane (x2, y2, z2)
- xyz3(3)
numpy.ndarray
Third point needed to define the plane (x3, y3, z3)
- xyz1(3)
- Returns