SketchCircles.addByThreeTangents Method
Parent Object:
SketchCirclesDefined 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
SketchCircle |
Returns the newly created SketchCircle object or null if the creation failed. |
Parameters
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
Version
Introduced in version August 2014