Plane.intersectWithLine Method

Parent Object: Plane
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Plane.h>

Description

Creates a 3D point at the intersection of this plane and a line.

Syntax

"plane_var" is a variable referencing a Plane object.
returnValue = plane_var.intersectWithLine(line)
"plane_var" is a variable referencing a Plane object.

#include <Core/Geometry/Plane.h>

returnValue = plane_var->intersectWithLine(line);

Return Value

Type Description
Point3D Returns a Point3D object or null if the plane and line do not intersect (are parallel).

Parameters

Name Type Description
line InfiniteLine3D The line to intersect with.

Version

Introduced in version August 2014