Plane.intersectWithSurface Method

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

Description

Intersect this plane with a surface to get the intersection point(s).

Syntax

"plane_var" is a variable referencing a Plane object.
returnValue = plane_var.intersectWithSurface(surface)
"plane_var" is a variable referencing a Plane object.

#include <Core/Geometry/Plane.h>

returnValue = plane_var->intersectWithSurface(surface);

Return Value

Type Description
ObjectCollection Returns a collection of the intersection points.

Parameters

Name Type Description
surface Surface The intersecting surface. The surface can be a Plane, Cone, Cylinder, EllipticalCone, EllipticalCylinder, Sphere, Torus, or a NurbsSurface.

Version

Introduced in version August 2014