SketchCircles.addByThreeTangents Method

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

Description

Creates a sketch circle that is tangent to the three input lines. The three lines must lie on the x-y plane of the sketch.

Syntax

"sketchCircles_var" is a variable referencing a SketchCircles object.
returnValue = sketchCircles_var.addByThreeTangents(tangentOne, tangentTwo, tangentThree, hintPoint)
"sketchCircles_var" is a variable referencing a SketchCircles object.

#include <Fusion/Sketch/SketchCircles.h>

returnValue = sketchCircles_var->addByThreeTangents(tangentOne, tangentTwo, tangentThree, hintPoint);

Return Value

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

Parameters

Name Type Description
tangentOne SketchLine The first line that the circle will be tangent to. The line must lie on the x-y plane of the sketch and cannot be parallel to the second or third line.
tangentTwo SketchLine The second line that the circle will be tangent to. The line must lie on the x-y plane of the sketch and cannot be parallel to the first or third line.
tangentThree SketchLine The third line that the circle will be tangent to. The line must lie on the x-y plane of the sketch and cannot be parallel to the first or second line.
hintPoint Point3D A point that specifies which of the possible multiple solutions to use when creating the circle. If you consider the three input lines to be infinite there are many possible solutions when creating a circle that is tangent to all three lines. The hint point is a point anywhere within the area defined by the three lines where the circle is to be created.

Samples

Name Description
Create Circle By 3 Tangents API Sample Creates three lines and then draws a circle that is tangent to the lines. It then creates tangent constraints to maintain that relationship.
SketchCircles.addByThreeTangents Demonstrates the SketchCircles.addByThreeTangets method.

Version

Introduced in version August 2014