AnyCAD Rapid SDK
2020
The Rapid CAD SDK

Public Member Functions  
synchronized void  delete () 
boolean  HasSymmetryAxis () 
boolean  HasSymmetryAxis (double aTol) 
boolean  HasSymmetryPoint () 
boolean  HasSymmetryPoint (double aTol) 
GXYZ  Moments () 
GVec  FirstAxisOfInertia () 
GVec  SecondAxisOfInertia () 
GVec  ThirdAxisOfInertia () 
GXYZ  RadiusOfGyration () 
Protected Member Functions  
PrincipalProps (long cPtr, boolean cMemoryOwn)  
void  swigSetCMemOwn (boolean own) 
void  finalize () 
Static Protected Member Functions  
static long  getCPtr (PrincipalProps obj) 
Get the principal property
GVec PrincipalProps.FirstAxisOfInertia  (  ) 
returns the first axis of inertia.
if the system has a point of symmetry there is an infinity of
solutions. It is not possible to defines the three axis of
inertia.
boolean PrincipalProps.HasSymmetryAxis  (  ) 
returns true if the geometric system has an axis of symmetry.
For comparing moments relative tolerance 1.e10 is used.
Usually it is enough for objects, restricted by faces with
analytical geometry.
boolean PrincipalProps.HasSymmetryAxis  (  double  aTol  ) 
returns true if the geometric system has an axis of symmetry.
aTol  is relative tolerance for checking equality of moments If aTol == 0, relative tolerance is ~ 1.e16 (Epsilon(I)) 
boolean PrincipalProps.HasSymmetryPoint  (  ) 
returns true if the geometric system has a point of symmetry.
For comparing moments relative tolerance 1.e10 is used.
Usually it is enough for objects, restricted by faces with
analytical geometry.
boolean PrincipalProps.HasSymmetryPoint  (  double  aTol  ) 
returns true if the geometric system has a point of symmetry.
aTol  is relative tolerance for checking equality of moments If aTol == 0, relative tolerance is ~ 1.e16 (Epsilon(I)) 
GXYZ PrincipalProps.Moments  (  ) 
Return the principal moments of inertia in the current system.
Notes :
GXYZ PrincipalProps.RadiusOfGyration  (  ) 
Returns the principal radii of gyration Rxx, Ryy
and Rzz are the radii of gyration of the current
system about its three principal axes of inertia.
Note that:
GVec PrincipalProps.SecondAxisOfInertia  (  ) 
returns the second axis of inertia.
if the system has a point of symmetry or an axis of symmetry the
second and the third axis of symmetry are undefined.
GVec PrincipalProps.ThirdAxisOfInertia  (  ) 
returns the third axis of inertia.
This and the above functions return the first, second or third eigen vector of the
matrix of inertia of the current system.
The first, second and third principal axis of inertia
pass through the center of mass of the current
system. They are respectively parallel to these three eigen vectors.
Note that: