Line3D.intersectWithCurve Method

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

Description

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

Syntax

"line3D_var" is a variable referencing a Line3D object.
returnValue = line3D_var.intersectWithCurve(curve)
"line3D_var" is a variable referencing a Line3D object.

#include <Core/Geometry/Line3D.h>

returnValue = line3D_var->intersectWithCurve(curve);

Return Value

Type Description
ObjectCollection Returns a collection of the intersection points

Parameters

Name Type Description
curve Curve3D The intersecting curve. The curve can be a Line3D, InfininteLine3D, Circle3D, Arc3D, EllipticalArc3D, Ellipse3D, or NurbsCurve3D.

Version

Introduced in version August 2014