BRepFace.centroid Property

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

Description

Returns a point at the centroid (aka, geometric center) of the face.

Syntax

"bRepFace_var" is a variable referencing a BRepFace object.

# Get the value of the property.
propertyValue = bRepFace_var.centroid
"bRepFace_var" is a variable referencing a BRepFace object.
#include <Fusion/BRep/BRepFace.h>

// Get the value of the property.
Ptr<Point3D> propertyValue = bRepFace_var->centroid();

Property Value

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

Version

Introduced in version March 2016