Circle2D.center Property

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

Description

Gets and sets the center position of the circle.

Syntax

"circle2D_var" is a variable referencing a Circle2D object.

# Get the value of the property.
propertyValue = circle2D_var.center

# Set the value of the property.
circle2D_var.center = propertyValue
"circle2D_var" is a variable referencing a Circle2D object.
#include <Core/Geometry/Circle2D.h>

// Get the value of the property.
Ptr<Point2D> propertyValue = circle2D_var->center();

// Set the value of the property, where value_var is a Point2D.
bool returnValue = circle2D_var->center(value_var);

Property Value

This is a read/write property whose value is a Point2D.

Version

Introduced in version August 2014