AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::TopoShapeProperty类 参考

Get the Geometry property. 更多...

Public 成员函数

bool SetShape (TopoShape^ shape)
 
Real EdgeLength ()
 
Real SurfaceArea ()
 
Real SolidVolume ()
 
Vector3CenterOfMass ()
 
void Add (TopoShapeProperty^ item, Real density)
 
Matrix3MatrixOfInertia ()
 
Vector3StaticMoments ()
 
double MomentOfInertia (Vector3^ pos, Vector3^ dir)
 
double RadiusOfGyration (Vector3^ pos, Vector3^ dir)
 
PrincipalPropsPrincipalProperties ()
 

详细描述

Get the Geometry property.

TODO:

成员函数说明

void AnyCAD::Platform::TopoShapeProperty::Add ( TopoShapeProperty item,
Real  density 
)

Add sub shape property

参数
itemthe sub information.
densitythe density.
Vector3 ^ AnyCAD::Platform::TopoShapeProperty::CenterOfMass ( )

Compute center of the mass.

返回
the center position.
Real AnyCAD::Platform::TopoShapeProperty::EdgeLength ( )

Compute the length of all edges.

返回
the length
Matrix3 ^ AnyCAD::Platform::TopoShapeProperty::MatrixOfInertia ( )

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

返回
the matrix of inertia.
double AnyCAD::Platform::TopoShapeProperty::MomentOfInertia ( Vector3 pos,
Vector3 dir 
)

computes the moment of inertia of the material system.

参数
posthe position of the axis.
dirthe direction of the axis.
返回
the moment of inertia.
PrincipalProps ^ AnyCAD::Platform::TopoShapeProperty::PrincipalProperties ( )

Get the principal properties

返回
the Principal Properties
double AnyCAD::Platform::TopoShapeProperty::RadiusOfGyration ( Vector3 pos,
Vector3 dir 
)

Get the radius of gyration of the current system.

参数
posthe position of the axis.
dirthe direction of the axis.
返回
the radius.
bool AnyCAD::Platform::TopoShapeProperty::SetShape ( TopoShape shape)

Set the TopoShape to compute

参数
shapethe TopoShape
Real AnyCAD::Platform::TopoShapeProperty::SolidVolume ( )

Compute the volume of all solids.

返回
the volume.
Vector3 ^ AnyCAD::Platform::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.

Real AnyCAD::Platform::TopoShapeProperty::SurfaceArea ( )

Compute the area of all surfaces.

返回
the area

该类的文档由以下文件生成: