InfiniteLine3D.intersectWithSurface Method

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

Description

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

Syntax

"infiniteLine3D_var" is a variable referencing an InfiniteLine3D object.
returnValue = infiniteLine3D_var.intersectWithSurface(surface)
"infiniteLine3D_var" is a variable referencing an InfiniteLine3D object.

#include <Core/Geometry/InfiniteLine3D.h>

returnValue = infiniteLine3D_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