SketchArc.intersections Method

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

Description

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

Syntax

"sketchArc_var" is a variable referencing a SketchArc object.

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

#include <Fusion/Sketch/SketchArc.h

// Declare the output arguments.
Ptr<ObjectCollection> sketchCurves;
Ptr<ObjectCollection> intersectingCurves;
Ptr<ObjectCollection> intersectionPoints;
boolean returnValue = sketchArc_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 August 2014