Sphere.surfaceType Property

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

Description

Returns the surface type.

Syntax

"sphere_var" is a variable referencing a Sphere object.

# Get the value of the property.
propertyValue = sphere_var.surfaceType
"sphere_var" is a variable referencing a Sphere object.
#include <Core/Geometry/Sphere.h>

// Get the value of the property.
SurfaceTypes propertyValue = sphere_var->surfaceType();

Property Value

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

Version

Introduced in version August 2014