PlaneEquation

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

Syntax

rhinoscriptsyntax.PlaneEquation (plane)

rhinoscript.plane.PlaneEquation (plane)

Parameters

plane

Required.  Plane.  The plane.

Returns

Tuple

A tuple containing four numbers that represent the coefficients of the equation, if successful.

None

If not successful, or on error.

Example

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]

Also See

PlaneFromFrame

PlaneFromNormal

PlaneFromPoints