Calculates the intersection point of a line segment defined by two 3D vertices (p0 and p1) with a plane parallel to the XY plane at a given Z coordinate.
p0
p1
The starting vertex of the line segment.
The ending vertex of the line segment.
The Z coordinate of the plane to intersect with.
The intersection vertex on the plane at Z, or undefined if the line is parallel to the plane.
undefined
Calculates the intersection point of a line segment defined by two 3D vertices (
p0
andp1
) with a plane parallel to the XY plane at a given Z coordinate.