Version: 9.12.0
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)
 

Public Attributes

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::VolumeSection ( TopoDS_Shape  S,
Standard_Real  Precision 
)

References myShape, and Tolerance.

Member Function Documentation

◆ Archimede()

Standard_Real VolumeSection::Archimede ( Standard_Real  Constante,
Standard_Real  Epsilon 
)

◆ CalculateVolume()

Standard_Real VolumeSection::CalculateVolume ( Standard_Real  Elevation)

◆ CenterOfGravity()

void VolumeSection::CenterOfGravity ( )

References Handle(), InitPoint, myShape, Xmax, Xmin, Ymax, Ymin, Zmax, and Zmin.

◆ ElementaryVolume()

Standard_Real VolumeSection::ElementaryVolume ( gp_Pnt  P1,
gp_Pnt  P2,
gp_Pnt  P3 
)
private

References InitPoint, and Standard_Real.

◆ GetShape()

TopoDS_Shape VolumeSection::GetShape ( )

References myShape.

◆ getZ()

void VolumeSection::getZ ( double &  min,
double &  max 
)

References Zmax, and Zmin.

◆ Handle() [1/5]

VolumeSection::Handle ( Geom_Plane  )
private

◆ Handle() [2/5]

Standard_EXPORT VolumeSection::Handle ( Geom_RectangularTrimmedSurface  )

◆ Handle() [3/5]

Standard_EXPORT VolumeSection::Handle ( Geom_RectangularTrimmedSurface  )

◆ Handle() [4/5]

Standard_EXPORT VolumeSection::Handle ( Geom_RectangularTrimmedSurface  )

◆ Handle() [5/5]

Standard_EXPORT VolumeSection::Handle ( Geom_RectangularTrimmedSurface  )

◆ Intersection()

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

References gp_Pnt, and Standard_Real.

◆ MakeRotation()

void VolumeSection::MakeRotation ( gp_Dir  PlaneDirection)

References gp_Pnt, myShape, and Standard_Real.

◆ SetPlane()

void VolumeSection::SetPlane ( Handle(Geom_Plane)  P)

Member Data Documentation

◆ gp_Pnt

Standard_EXPORT VolumeSection::gp_Pnt

◆ InitPoint

gp_Pnt VolumeSection::InitPoint
private

◆ myShape

TopoDS_Shape VolumeSection::myShape
private

◆ Standard_Real

Standard_EXPORT VolumeSection::Standard_Real

◆ Tolerance

Standard_Real VolumeSection::Tolerance
private

◆ Xmax

Standard_Real VolumeSection::Xmax
private

◆ Xmin

Standard_Real VolumeSection::Xmin
private

◆ Ymax

Standard_Real VolumeSection::Ymax
private

◆ Ymin

Standard_Real VolumeSection::Ymin
private

◆ Zmax

Standard_Real VolumeSection::Zmax
private

◆ Zmin

Standard_Real VolumeSection::Zmin
private

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