# Synopsis

PDX_MSGT gdx_PolyShellGetMassProperties(long option, MDA_PTR gdx_ps_ptr, double *area, double *volume, MTH_3DPNT centroid)

# Purpose

Get surface area, volume and centroid of GDX PolyShell Entity

# Description

Get surface area, volume, centroid of GDX PolyShell Entity pointed to by database pointer gdx_ps_ptr. If GDX PolyShell Entity is not closed, zero volume and zero centroid coordinates are returned

# Input

## option

(not used)

## gdx_ps_ptr

GDX PolyShell Entity database pointer

# Output

## area

Surface area

## volume

Volume

## centroid

Centroid

# Return

Usage Verification