AnyCAD Rapid API 2023
Help you to create a better world!
|
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 () |
<>
获取几何属性
void TopoShapeProperty.Add | ( | TopoShapeProperty | item, |
double | density | ||
) |
Add sub shape property
item | the sub information. |
density | the density. |
GPnt TopoShapeProperty.CenterOfMass | ( | ) |
Compute center of the mass.
double TopoShapeProperty.EdgeLength | ( | ) |
Compute the length of all edges.
GMat TopoShapeProperty.MatrixOfInertia | ( | ) |
Get the matrix of inertia. It is a symmetrical matrix.
double TopoShapeProperty.MomentOfInertia | ( | GAx1 | A | ) |
computes the moment of inertia of the material system.
A | the the axis. |
PrincipalProps TopoShapeProperty.PrincipalProperties | ( | ) |
Get the principal properties
double TopoShapeProperty.RadiusOfGyration | ( | GAx1 | A | ) |
Get the radius of gyration of the current system.
A | the the axis. |
boolean TopoShapeProperty.SetShape | ( | TopoShape | shape | ) |
double TopoShapeProperty.SolidVolume | ( | ) |
Compute the volume of all solids.
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.