Plane3d.ParametricIntersect Method

Returns a parameter where the plane intersects the line given by two points. This parameter is 0.0-1.0 if the plane is between the points. If the intersection is out of this range a value smaller than 0.0 or larger than 1.0 is gotten.
public bool ParametricIntersect( 
   Point3d p0
   Point3d p1
   out double res 
)

Parameters

p0
Point3d

The first point of the infinite line to intersect with this plane.

p1
Point3d

The second point of the infinite line to intersect with this plane

res
double

Set to the parameter of the intersection on the line.

Return Value

bool

true if the line intersects this plane, otherwise false (which means the line is parallel with this plane).

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition