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 Function ParametricIntersect( _ 
ByVal p0 As Point3d, _ 
ByVal p1 As Point3d, _ 
ByRef res As Double
) As Boolean
This language is not supported or no code example is available.
public bool ParametricIntersect( 
Point3d p0
Point3d p1
out double res 
)
This language is not supported or no code example is available.
public:  
bool ParametricIntersect( 
Point3d^ p0
Point3d^ p1
double& res 
)
This language is not supported or no code example is available.
public function ParametricIntersect( 
p0 : Point3d
p1 : Point3d
res : double 
) : boolean;
This language is not supported or no code example is available.

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