QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_MassProperties Class Reference

#include <opennurbs_massprop.h>

Public Member Functions

double Area () const
 
ON_3dPoint Centroid () const
 
ON_MatrixCentroidCoordIntertiaMatrix (ON_Matrix *matrix=NULL) const
 
ON_3dVector CentroidCoordMomentsOfInertia () const
 
bool CentroidCoordPrincipalMoments (double *pxx, ON_3dVector &Ax, double *pyy, ON_3dVector &Ay, double *pzz, ON_3dVector &Az) const
 
ON_3dVector CentroidCoordRadiiOfGyration () const
 
ON_3dVector CentroidCoordSecondMoments () const
 
void Create ()
 
void Dump (ON_TextLog &dump) const
 
double Length () const
 
 ON_MassProperties ()
 
bool Sum (int count, const ON_MassProperties *summands, bool bAddTo=false)
 
double Volume () const
 
ON_3dVector WorldCoordFirstMoments () const
 
ON_MatrixWorldCoordIntertiaMatrix (ON_Matrix *matrix=NULL) const
 
ON_3dVector WorldCoordMomentsOfInertia () const
 
bool WorldCoordPrincipalMoments (double *pxx, ON_3dVector &Ax, double *pyy, ON_3dVector &Ay, double *pzz, ON_3dVector &Az) const
 
ON_3dVector WorldCoordRadiiOfGyration () const
 
ON_3dVector WorldCoordSecondMoments () const
 
 ~ON_MassProperties ()
 

Public Attributes

bool m__bReserved1
 
bool m__bReserved2
 
bool m__bReserved3
 
int m__reserved
 
double m__reserved1
 
double m__reserved2
 
double m__reserved3
 
double m__reserved4
 
double m__reserved5
 
double m__reserved6
 
double m__reserved7
 
double m__reserved8
 
bool m_bValidCentroid
 
bool m_bValidFirstMoments
 
bool m_bValidMass
 
bool m_bValidProductMoments
 
bool m_bValidSecondMoments
 
double m_ccs_xx
 
double m_ccs_xx_err
 
double m_ccs_xy
 
double m_ccs_xy_err
 
double m_ccs_yy
 
double m_ccs_yy_err
 
double m_ccs_yz
 
double m_ccs_yz_err
 
double m_ccs_zx
 
double m_ccs_zx_err
 
double m_ccs_zz
 
double m_ccs_zz_err
 
double m_mass
 
double m_mass_err
 
int m_mass_type
 
double m_world_x
 
double m_world_x_err
 
double m_world_xx
 
double m_world_xx_err
 
double m_world_xy
 
double m_world_xy_err
 
double m_world_y
 
double m_world_y_err
 
double m_world_yy
 
double m_world_yy_err
 
double m_world_yz
 
double m_world_yz_err
 
double m_world_z
 
double m_world_z_err
 
double m_world_zx
 
double m_world_zx_err
 
double m_world_zz
 
double m_world_zz_err
 
double m_x0
 
double m_x0_err
 
double m_y0
 
double m_y0_err
 
double m_z0
 
double m_z0_err
 

Constructor & Destructor Documentation

◆ ON_MassProperties()

ON_MassProperties::ON_MassProperties ( )

◆ ~ON_MassProperties()

ON_MassProperties::~ON_MassProperties ( )

Member Function Documentation

◆ Area()

double ON_MassProperties::Area ( ) const

◆ Centroid()

ON_3dPoint ON_MassProperties::Centroid ( ) const

◆ CentroidCoordIntertiaMatrix()

ON_Matrix * ON_MassProperties::CentroidCoordIntertiaMatrix ( ON_Matrix * matrix = NULL) const

◆ CentroidCoordMomentsOfInertia()

ON_3dVector ON_MassProperties::CentroidCoordMomentsOfInertia ( ) const

◆ CentroidCoordPrincipalMoments()

bool ON_MassProperties::CentroidCoordPrincipalMoments ( double * pxx,
ON_3dVector & Ax,
double * pyy,
ON_3dVector & Ay,
double * pzz,
ON_3dVector & Az ) const

◆ CentroidCoordRadiiOfGyration()

ON_3dVector ON_MassProperties::CentroidCoordRadiiOfGyration ( ) const

◆ CentroidCoordSecondMoments()

ON_3dVector ON_MassProperties::CentroidCoordSecondMoments ( ) const

◆ Create()

void ON_MassProperties::Create ( )

◆ Dump()

void ON_MassProperties::Dump ( ON_TextLog & dump) const

◆ Length()

double ON_MassProperties::Length ( ) const

◆ Sum()

bool ON_MassProperties::Sum ( int count,
const ON_MassProperties * summands,
bool bAddTo = false )

◆ Volume()

double ON_MassProperties::Volume ( ) const

◆ WorldCoordFirstMoments()

ON_3dVector ON_MassProperties::WorldCoordFirstMoments ( ) const

◆ WorldCoordIntertiaMatrix()

ON_Matrix * ON_MassProperties::WorldCoordIntertiaMatrix ( ON_Matrix * matrix = NULL) const

◆ WorldCoordMomentsOfInertia()

ON_3dVector ON_MassProperties::WorldCoordMomentsOfInertia ( ) const

◆ WorldCoordPrincipalMoments()

bool ON_MassProperties::WorldCoordPrincipalMoments ( double * pxx,
ON_3dVector & Ax,
double * pyy,
ON_3dVector & Ay,
double * pzz,
ON_3dVector & Az ) const

◆ WorldCoordRadiiOfGyration()

ON_3dVector ON_MassProperties::WorldCoordRadiiOfGyration ( ) const

◆ WorldCoordSecondMoments()

ON_3dVector ON_MassProperties::WorldCoordSecondMoments ( ) const

Member Data Documentation

◆ m__bReserved1

bool ON_MassProperties::m__bReserved1

◆ m__bReserved2

bool ON_MassProperties::m__bReserved2

◆ m__bReserved3

bool ON_MassProperties::m__bReserved3

◆ m__reserved

int ON_MassProperties::m__reserved

◆ m__reserved1

double ON_MassProperties::m__reserved1

◆ m__reserved2

double ON_MassProperties::m__reserved2

◆ m__reserved3

double ON_MassProperties::m__reserved3

◆ m__reserved4

double ON_MassProperties::m__reserved4

◆ m__reserved5

double ON_MassProperties::m__reserved5

◆ m__reserved6

double ON_MassProperties::m__reserved6

◆ m__reserved7

double ON_MassProperties::m__reserved7

◆ m__reserved8

double ON_MassProperties::m__reserved8

◆ m_bValidCentroid

bool ON_MassProperties::m_bValidCentroid

◆ m_bValidFirstMoments

bool ON_MassProperties::m_bValidFirstMoments

◆ m_bValidMass

bool ON_MassProperties::m_bValidMass

◆ m_bValidProductMoments

bool ON_MassProperties::m_bValidProductMoments

◆ m_bValidSecondMoments

bool ON_MassProperties::m_bValidSecondMoments

◆ m_ccs_xx

double ON_MassProperties::m_ccs_xx

◆ m_ccs_xx_err

double ON_MassProperties::m_ccs_xx_err

◆ m_ccs_xy

double ON_MassProperties::m_ccs_xy

◆ m_ccs_xy_err

double ON_MassProperties::m_ccs_xy_err

◆ m_ccs_yy

double ON_MassProperties::m_ccs_yy

◆ m_ccs_yy_err

double ON_MassProperties::m_ccs_yy_err

◆ m_ccs_yz

double ON_MassProperties::m_ccs_yz

◆ m_ccs_yz_err

double ON_MassProperties::m_ccs_yz_err

◆ m_ccs_zx

double ON_MassProperties::m_ccs_zx

◆ m_ccs_zx_err

double ON_MassProperties::m_ccs_zx_err

◆ m_ccs_zz

double ON_MassProperties::m_ccs_zz

◆ m_ccs_zz_err

double ON_MassProperties::m_ccs_zz_err

◆ m_mass

double ON_MassProperties::m_mass

◆ m_mass_err

double ON_MassProperties::m_mass_err

◆ m_mass_type

int ON_MassProperties::m_mass_type

◆ m_world_x

double ON_MassProperties::m_world_x

◆ m_world_x_err

double ON_MassProperties::m_world_x_err

◆ m_world_xx

double ON_MassProperties::m_world_xx

◆ m_world_xx_err

double ON_MassProperties::m_world_xx_err

◆ m_world_xy

double ON_MassProperties::m_world_xy

◆ m_world_xy_err

double ON_MassProperties::m_world_xy_err

◆ m_world_y

double ON_MassProperties::m_world_y

◆ m_world_y_err

double ON_MassProperties::m_world_y_err

◆ m_world_yy

double ON_MassProperties::m_world_yy

◆ m_world_yy_err

double ON_MassProperties::m_world_yy_err

◆ m_world_yz

double ON_MassProperties::m_world_yz

◆ m_world_yz_err

double ON_MassProperties::m_world_yz_err

◆ m_world_z

double ON_MassProperties::m_world_z

◆ m_world_z_err

double ON_MassProperties::m_world_z_err

◆ m_world_zx

double ON_MassProperties::m_world_zx

◆ m_world_zx_err

double ON_MassProperties::m_world_zx_err

◆ m_world_zz

double ON_MassProperties::m_world_zz

◆ m_world_zz_err

double ON_MassProperties::m_world_zz_err

◆ m_x0

double ON_MassProperties::m_x0

◆ m_x0_err

double ON_MassProperties::m_x0_err

◆ m_y0

double ON_MassProperties::m_y0

◆ m_y0_err

double ON_MassProperties::m_y0_err

◆ m_z0

double ON_MassProperties::m_z0

◆ m_z0_err

double ON_MassProperties::m_z0_err

The documentation for this class was generated from the following files: