SketchArcs.addByThreePoints Method

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

Description

Creates a sketch arc that passes through the three points.

Sketch arcs always exist in a counterclockwise direction. Even though you can provide three that define an arc that will have a clockwise direction, the result will still be a counterclockwise arc. This means if you query the created sketch arc, the start and end points may be opposite of what you expect.

Syntax

"sketchArcs_var" is a variable referencing a SketchArcs object.

returnValue = sketchArcs_var.addByThreePoints(startPoint, point, endPoint)
"sketchArcs_var" is a variable referencing a SketchArcs object.

#include <Fusion/Sketch/SketchArcs.h>

returnValue = sketchArcs_var->addByThreePoints(startPoint, point, endPoint);
"sketchArcs_var" is a variable referencing a SketchArcs object.

returnValue = sketchArcs_var.addByThreePoints(startPoint, point, endPoint);

Return Value

Type Description
SketchArc Returns the newly created SketchArc or null in the case of a failure.

Parameters

Name Type Description
startPoint Base The start point of the arc. This can be either an existing SketchPoint or a Point3D object.
point Point3D A point along the arc. This is a Point3D object.
endPoint Base The end point of the arc. This can be either an existing SketchPoint or a Point3D object.

Version

Introduced in version August 2014