GeometricConstraints.addMidPoint Method
Parent Object:
GeometricConstraintsDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/GeometricConstraints.h>
Description
Creates a new midpoint constraint between a point and a curve.
Syntax
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.returnValue = geometricConstraints_var.addMidPoint(point, midPointCurve)
|
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
#include <Fusion/Sketch/GeometricConstraints.h>
returnValue = geometricConstraints_var->addMidPoint(point, midPointCurve);
|
Return Value
MidPointConstraint |
Returns the newly created MidPointConstraint object or null if the creation failed. |
Parameters
point |
SketchPoint |
The point to constrain to the midpoint of a curve. |
midPointCurve |
SketchCurve |
The curve that defines the midpoint to constraint to. |
Samples
Version
Introduced in version August 2014