AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
TopoShapeProperty Class Reference

Public Member Functions

synchronized void delete ()
 TopoShapeProperty (TopoShape shape)
boolean SetShape (TopoShape shape)
double EdgeLength ()
double SurfaceArea ()
double SolidVolume ()
GPnt CenterOfMass ()
void Add (TopoShapeProperty item, double density)
GMat MatrixOfInertia ()
GXYZ StaticMoments ()
double MomentOfInertia (GAx1 A)
double RadiusOfGyration (GAx1 A)
PrincipalProps PrincipalProperties ()

Protected Member Functions

 TopoShapeProperty (long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn (boolean own)
void finalize ()

Static Protected Member Functions

static long getCPtr (TopoShapeProperty obj)

Detailed Description

Get the Geometry property

Member Function Documentation

void TopoShapeProperty.Add ( TopoShapeProperty  item,
double  density 

Add sub shape property

itemthe sub information.
densitythe density.
GPnt TopoShapeProperty.CenterOfMass ( )

Compute center of the mass.

the center position.
double TopoShapeProperty.EdgeLength ( )

Compute the length of all edges.

the length
GMat TopoShapeProperty.MatrixOfInertia ( )

Get the matrix of inertia. It is a symmetrical matrix.

the matrix of inertia.
double TopoShapeProperty.MomentOfInertia ( GAx1  A)

computes the moment of inertia of the material system.

Athe the axis.
the moment of inertia.
PrincipalProps TopoShapeProperty.PrincipalProperties ( )

Get the principal properties

the Principal Properties
double TopoShapeProperty.RadiusOfGyration ( GAx1  A)

Get the radius of gyration of the current system.

Athe the axis.
the radius.
boolean TopoShapeProperty.SetShape ( TopoShape  shape)

Set the TopoShape to compute

shapethe TopoShape
double TopoShapeProperty.SolidVolume ( )

Compute the volume of all solids.

the volume.
GXYZ TopoShapeProperty.StaticMoments ( )

Get Ix, Iy, Iz, the static moments of inertia of the
current system; i.e. the moments of inertia about the
three axes of the Cartesian coordinate system.

double TopoShapeProperty.SurfaceArea ( )

Compute the area of all surfaces.

the area