Returns the equation of a plane. The standard equation of a plane with a non-zero normal vector is as follows:
Ax + By + Cz + D = 0
rhinoscriptsyntax.PlaneEquation (plane)
rhinoscript.plane.PlaneEquation (plane)
plane |
Required. Plane. The plane. |
Tuple |
A tuple containing four numbers that represent the coefficients of the equation, if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
plane = rs.ViewCPlane()
equation = rs.PlaneEquation(plane)
print "A =", equation[0]
print "B =", equation[1]
print "C =", equation[2]
print "D =", equation[3]