intersect3d2Planes

intersect3d2Planes()
intersect3d2Planes(plane1: Plane, pointOnPlane1: Point3, plane2: Plane, pointOnPlane2: Point3, out_lineBegin: Point3, out_lineEnd: Point3): (0 | 1 | 2)

Computes the intersection of two planes.

Parameters

plane1: Plane

The first plane.

pointOnPlane1: Point3

A point on the first plane.

plane2: Plane

The second plane.

pointOnPlane2: Point3

A point on the second plane.

out_lineBegin: Point3

Out parameter for resulting intersection line (if any).

out_lineEnd: Point3

Out parameter for resulting intersection line (if any).

Returns: (0 | 1 | 2)

0 if the planes are disjoint. 1 if the planes coincide. 2 if the planes intersect in a line.