NurbsCurve2D.controlPoints Property

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

Description

Returns an array of Point2D objects that define the control points of the curve.

Syntax

"nurbsCurve2D_var" is a variable referencing a NurbsCurve2D object.

# Get the value of the property.
propertyValue = nurbsCurve2D_var.controlPoints
"nurbsCurve2D_var" is a variable referencing a NurbsCurve2D object.
#include <Core/Geometry/NurbsCurve2D.h>

// Get the value of the property.
std::vector<Ptr<Point2D>> propertyValue = nurbsCurve2D_var->controlPoints();

Property Value

This is a read only property whose value is an array of type Point2D.

Version

Introduced in version August 2014