AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
Get the Geometry property. 更多...
Public 成员函数 | |
bool | SetShape (TopoShape^ shape) |
Real | EdgeLength () |
Real | SurfaceArea () |
Real | SolidVolume () |
Vector3^ | CenterOfMass () |
void | Add (TopoShapeProperty^ item, Real density) |
Matrix3^ | MatrixOfInertia () |
Vector3^ | StaticMoments () |
double | MomentOfInertia (Vector3^ pos, Vector3^ dir) |
double | RadiusOfGyration (Vector3^ pos, Vector3^ dir) |
PrincipalProps^ | PrincipalProperties () |
Get the Geometry property.
TODO:
void AnyCAD::Platform::TopoShapeProperty::Add | ( | TopoShapeProperty^ | item, |
Real | density | ||
) |
Add sub shape property
item | the sub information. |
density | the density. |
Vector3 ^ AnyCAD::Platform::TopoShapeProperty::CenterOfMass | ( | ) |
Compute center of the mass.
Real AnyCAD::Platform::TopoShapeProperty::EdgeLength | ( | ) |
Compute the length of all edges.
Matrix3 ^ AnyCAD::Platform::TopoShapeProperty::MatrixOfInertia | ( | ) |
Get the matrix of inertia. It is a symmetrical matrix.
computes the moment of inertia of the material system.
pos | the position of the axis. |
dir | the direction of the axis. |
PrincipalProps ^ AnyCAD::Platform::TopoShapeProperty::PrincipalProperties | ( | ) |
Get the principal properties
Get the radius of gyration of the current system.
pos | the position of the axis. |
dir | the direction of the axis. |
bool AnyCAD::Platform::TopoShapeProperty::SetShape | ( | TopoShape^ | shape | ) |
Real AnyCAD::Platform::TopoShapeProperty::SolidVolume | ( | ) |
Compute the volume of all solids.
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.