PolygonConstraint.centerPoint Property

Parent Object: PolygonConstraint
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/PolygonConstraint.h>

Description

Returns the SketchPoint that acts as the center point of the polygon.

Syntax

"polygonConstraint_var" is a variable referencing a PolygonConstraint object.

# Get the value of the property.
propertyValue = polygonConstraint_var.centerPoint
"polygonConstraint_var" is a variable referencing a PolygonConstraint object.
#include <Fusion/Sketch/PolygonConstraint.h>

// Get the value of the property.
Ptr<SketchPoint> propertyValue = polygonConstraint_var->centerPoint();

Property Value

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

Version

Introduced in version July 2024