cgma
BodySM Class Reference

#include <BodySM.hpp>

Inheritance diagram for BodySM:
TopologyBridge CompositeBody FacetBody OCCBody PartitionBody

List of all members.

Public Member Functions

 BodySM ()
virtual ~BodySM ()
virtual CubitStatus get_transforms (CubitTransformMatrix &tfm)=0
virtual CubitStatus mass_properties (CubitVector &centroid, double &volume)=0
virtual CubitPointContainment point_containment (const CubitVector &pos, double tolerance=-1.0)=0
CubitBox bounding_box ()

Detailed Description

Definition at line 48 of file BodySM.hpp.


Constructor & Destructor Documentation

Definition at line 51 of file BodySM.cpp.

{
}
BodySM::~BodySM ( ) [virtual]

Definition at line 64 of file BodySM.cpp.

{
}

Member Function Documentation

Definition at line 68 of file BodySM.cpp.

{
  DLIList<Lump*> body_lumps;
  this->lumps( body_lumps );

  CubitBox bbox;
  bbox = body_lumps.get_and_step()->bounding_box();

  int i;
  for( i=body_lumps.size()-1; i--; )
  {
    Lump *tmp_lump = body_lumps.get_and_step();
    bbox |= tmp_lump->bounding_box();
  }

  return bbox;
}
virtual CubitStatus BodySM::get_transforms ( CubitTransformMatrix tfm) [pure virtual]

Implemented in FacetBody, OCCBody, CompositeBody, and PartitionBody.

virtual CubitStatus BodySM::mass_properties ( CubitVector centroid,
double &  volume 
) [pure virtual]

Implemented in FacetBody, OCCBody, CompositeBody, and PartitionBody.

virtual CubitPointContainment BodySM::point_containment ( const CubitVector pos,
double  tolerance = -1.0 
) [pure virtual]

Implemented in FacetBody, OCCBody, CompositeBody, and PartitionBody.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines