Version: 6.3.1
Public Member Functions | Data Fields | Private Member Functions | Private Attributes

VolumeSection Class Reference

#include <Archimede_VolumeSection.hxx>

Public Member Functions

Standard_EXPORT VolumeSection (TopoDS_Shape, Standard_Real)
Standard_EXPORT void CenterOfGravity ()
Standard_EXPORT Standard_Real CalculateVolume (Standard_Real)
Standard_EXPORT Standard_Real Archimede (Standard_Real, Standard_Real)
Standard_EXPORT void SetPlane (Handle(Geom_Plane))
Standard_EXPORT TopoDS_Shape GetShape ()
Standard_EXPORT void MakeRotation (gp_Dir)
Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) InvMakeRotation(gp_Dir
Standard_EXPORT Handle (Geom_RectangularTrimmedSurface))
Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) TrimSurf()
Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) AjustePlan(Handle(Geom_RectangularTrimmedSurface)
Standard_EXPORT void getZ (double &min, double &max)

Data Fields

Standard_EXPORT Standard_Real
Standard_EXPORT gp_Pnt

Private Member Functions

 Handle (Geom_Plane) myPlane
Standard_Real ElementaryVolume (gp_Pnt, gp_Pnt, gp_Pnt)
gp_Pnt Intersection (gp_Pnt, gp_Pnt, Standard_Real)

Private Attributes

TopoDS_Shape myShape
Standard_Real Tolerance
gp_Pnt InitPoint
Standard_Real Zmin
Standard_Real Zmax
Standard_Real Ymin
Standard_Real Ymax
Standard_Real Xmin
Standard_Real Xmax

Constructor & Destructor Documentation

VolumeSection::VolumeSection ( TopoDS_Shape  S,
Standard_Real  Precision 
)

References myShape, and Tolerance.


Member Function Documentation

void VolumeSection::CenterOfGravity ( )
Standard_Real VolumeSection::CalculateVolume ( Standard_Real  Elevation)
Standard_Real VolumeSection::Archimede ( Standard_Real  Constante,
Standard_Real  Epsilon 
)
void VolumeSection::SetPlane ( Handle(Geom_Plane)  P)
TopoDS_Shape VolumeSection::GetShape ( )

References myShape.

void VolumeSection::MakeRotation ( gp_Dir  PlaneDirection)

References gp_Pnt, myShape, and Standard_Real.

Standard_EXPORT VolumeSection.Handle ( Geom_RectangularTrimmedSurface  )
Standard_EXPORT VolumeSection.Handle ( Geom_RectangularTrimmedSurface  )
Standard_EXPORT VolumeSection.Handle ( Geom_RectangularTrimmedSurface  )
Standard_EXPORT VolumeSection.Handle ( Geom_RectangularTrimmedSurface  )
void VolumeSection::getZ ( double &  min,
double &  max 
)

References Zmax, and Zmin.

VolumeSection.Handle ( Geom_Plane  ) [private]
Standard_Real VolumeSection::ElementaryVolume ( gp_Pnt  P1,
gp_Pnt  P2,
gp_Pnt  P3 
) [private]

References InitPoint, and Standard_Real.

gp_Pnt VolumeSection::Intersection ( gp_Pnt  P1,
gp_Pnt  P2,
Standard_Real  Hauteur 
) [private]

References gp_Pnt, and Standard_Real.


Field Documentation

Standard_EXPORT VolumeSection.Standard_Real
Standard_EXPORT VolumeSection.gp_Pnt
TopoDS_Shape VolumeSection.myShape [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS