AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
TopoShapeProperty类 参考

Public 成员函数

 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 ()
 

详细描述

<>
获取几何属性

成员函数说明

◆ Add()

void TopoShapeProperty.Add ( TopoShapeProperty item,
double density )

Add sub shape property

参数
itemthe sub information.
densitythe density.

◆ CenterOfMass()

GPnt TopoShapeProperty.CenterOfMass ( )

Compute center of the mass.

返回
the center position.

◆ EdgeLength()

double TopoShapeProperty.EdgeLength ( )

Compute the length of all edges.

返回
the length

◆ MatrixOfInertia()

GMat TopoShapeProperty.MatrixOfInertia ( )

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

返回
the matrix of inertia.

◆ MomentOfInertia()

double TopoShapeProperty.MomentOfInertia ( GAx1 A)

computes the moment of inertia of the material system.

参数
Athe the axis.
返回
the moment of inertia.

◆ PrincipalProperties()

PrincipalProps TopoShapeProperty.PrincipalProperties ( )

Get the principal properties

返回
the Principal Properties

◆ RadiusOfGyration()

double TopoShapeProperty.RadiusOfGyration ( GAx1 A)

Get the radius of gyration of the current system.

参数
Athe the axis.
返回
the radius.

◆ SetShape()

boolean TopoShapeProperty.SetShape ( TopoShape shape)

Set the TopoShape to compute

参数
shapethe TopoShape

◆ SolidVolume()

double TopoShapeProperty.SolidVolume ( )

Compute the volume of all solids.

返回
the volume.

◆ StaticMoments()

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.

◆ SurfaceArea()

double TopoShapeProperty.SurfaceArea ( )

Compute the area of all surfaces.

返回
the area