SketchControlPointSpline.intersections Method

Parent Object: SketchControlPointSpline
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchControlPointSpline.h>

Description

Get the curves that intersect this curve along with the intersection points (Point3D)

Syntax

"sketchControlPointSpline_var" is a variable referencing a SketchControlPointSpline object.

(returnValue, intersectingCurves, intersectionPoints) = sketchControlPointSpline_var.intersections(sketchCurves)

#include <Fusion/Sketch/SketchControlPointSpline.h

// Declare the output arguments.
Ptr<ObjectCollection> sketchCurves;
Ptr<ObjectCollection> intersectingCurves;
Ptr<ObjectCollection> intersectionPoints;
boolean returnValue = sketchControlPointSpline_var->intersections(sketchCurves, intersectingCurves, intersectionPoints);

Return Value

Type Description
boolean Returns true if the method was successful. It can be successful regardless of whether intersections were found or not.

Parameters

Name Type Description
sketchCurves ObjectCollection A collection of curves to attempt to find intersections with. Set the value of this parameter to null to use all curves in the sketch for the calculation.
intersectingCurves ObjectCollection A collection of the actual intersecting curves
intersectionPoints ObjectCollection A collection of intersection points (Point3D) Item numbers in this collection correspond to the item numbers in the intersectingCurves collection.

Version

Introduced in version July 2022