NurbsCurve2D.reverse Method

Parent Object: NurbsCurve2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/NurbsCurve2D.h>

Description

Reverses the orientation of the curve so the start and end points are swapped. The shape of the curve remains unchanged. This is especially useful to prepare the curves to use with the merge method.

Syntax

"nurbsCurve2D_var" is a variable referencing a NurbsCurve2D object.
returnValue = nurbsCurve2D_var.reverse()
"nurbsCurve2D_var" is a variable referencing a NurbsCurve2D object.

#include <Core/Geometry/NurbsCurve2D.h>

returnValue = nurbsCurve2D_var->reverse();

Version

Introduced in version October 2022