Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 725 Bytes

File metadata and controls

31 lines (25 loc) · 725 Bytes

Centroid3D

Description

Returns the center of gravity of a 3D object. The function returns TRUE if the values were found.

FUNCTION Centroid3D(
				obj     : HANDLE;
				VAR xCG : REAL;
				VAR yCG : REAL;
				VAR zCG : REAL): BOOLEAN;
def vs.Centroid3D(obj):
    return (BOOLEAN, xCG, yCG, zCG)

Parameters

Name Type Description
obj HANDLE The objectt from whci to calculate the center of gravity
xCG REAL The x component of the center of gravity.
yCG REAL The y component of the center of gravity.
zCG REAL The z component of the center of gravity.

Version

Availability: from VectorWorks 10.1

Category