ConstructionPlaneInput.setByThreePoints Method
Parent Object:
ConstructionPlaneInputDefined in namespace "adsk::fusion" and the header file is <Fusion/Construction/ConstructionPlaneInput.h>
Description
This input method is for creating a construction plane through three points that define a triangle. This can result in a parametric or non-parametric construction plane depending on whether the parent component is parametric or is a direct edit component.
Syntax
"constructionPlaneInput_var" is a variable referencing a ConstructionPlaneInput object.returnValue = constructionPlaneInput_var.setByThreePoints(pointEntityOne, pointEntityTwo, pointEntityThree)
|
"constructionPlaneInput_var" is a variable referencing a ConstructionPlaneInput object.
#include <Fusion/Construction/ConstructionPlaneInput.h>
returnValue = constructionPlaneInput_var->setByThreePoints(pointEntityOne, pointEntityTwo, pointEntityThree);
|
Return Value
boolean |
Returns true if the creation of the ConstructionPlaneInput is successful. This will fail if the points do not form a triangle (no two points can be coincident and all three cannot be colinear). |
Parameters
pointEntityOne |
Base |
The first construction point, sketch point or vertex in the triangle |
pointEntityTwo |
Base |
The second construction point, sketch point or vertex in the triangle |
pointEntityThree |
Base |
The third construction point, sketch point or vertex in the triangle |
Samples
Version
Introduced in version August 2014