Curve2D.curveType Property

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

Description

Returns the type of geometry this curve represents.

Syntax

"curve2D_var" is a variable referencing a Curve2D object.

# Get the value of the property.
propertyValue = curve2D_var.curveType
"curve2D_var" is a variable referencing a Curve2D object.
#include <Core/Geometry/Curve2D.h>

// Get the value of the property.
Curve2DTypes propertyValue = curve2D_var->curveType();

Property Value

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

Version

Introduced in version August 2014