Line2D.asNurbsCurve Property

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

Description

Returns a NURBS curve that is geometrically identical to the line.

Syntax

"line2D_var" is a variable referencing a Line2D object.

# Get the value of the property.
propertyValue = line2D_var.asNurbsCurve
"line2D_var" is a variable referencing a Line2D object.
#include <Core/Geometry/Line2D.h>

// Get the value of the property.
Ptr<NurbsCurve2D> propertyValue = line2D_var->asNurbsCurve();

Property Value

This is a read only property whose value is a NurbsCurve2D.

Version

Introduced in version August 2014