NurbsCurve3D.reverse Method

Parent Object: NurbsCurve3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/NurbsCurve3D.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

"nurbsCurve3D_var" is a variable referencing a NurbsCurve3D object.
returnValue = nurbsCurve3D_var.reverse()
"nurbsCurve3D_var" is a variable referencing a NurbsCurve3D object.

#include <Core/Geometry/NurbsCurve3D.h>

returnValue = nurbsCurve3D_var->reverse();

Version

Introduced in version October 2022