SketchFittedSpline.intersections Method

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

Description

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

Syntax

"sketchFittedSpline_var" is a variable referencing a SketchFittedSpline object.

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

#include <Fusion/Sketch/SketchFittedSpline.h

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

Return Value

Type Description
boolean Returns true if intersections are found

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 August 2014