SketchCircles.addByThreePoints Method

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

Description

Creates a sketch circle that passes through the three points. The three points must lie on the x-y plane of the sketch.

Syntax

"sketchCircles_var" is a variable referencing a SketchCircles object.
returnValue = sketchCircles_var.addByThreePoints(pointOne, pointTwo, pointThree)
"sketchCircles_var" is a variable referencing a SketchCircles object.

#include <Fusion/Sketch/SketchCircles.h>

returnValue = sketchCircles_var->addByThreePoints(pointOne, pointTwo, pointThree);

Return Value

Type Description
SketchCircle Returns the newly created SketchCircle object or null if the creation failed.

Parameters

Name Type Description
pointOne Point3D The first point that the circle will pass through. The z component must be zero.
pointTwo Point3D The second point that the circle will pass through. The z component must be zero.
pointThree Point3D The third point that the circle will pass through. The z component must be zero.

Samples

Name Description
SketchCircles.addByThreePoints Demonstrates the SketchCircles.addByThreePoints method.

Version

Introduced in version August 2014