#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 |
| VolumeSection::VolumeSection | ( | TopoDS_Shape | S, |
| Standard_Real | Precision | ||
| ) |
| void VolumeSection::CenterOfGravity | ( | ) |
| Standard_Real VolumeSection::CalculateVolume | ( | Standard_Real | Elevation | ) |
References ElementaryVolume(), gp_Pnt, Handle(), PAL_MESH_030_geometry.i, InitPoint, Intersection(), myShape, Standard_Real, and GEOM_example2.z.
| Standard_Real VolumeSection::Archimede | ( | Standard_Real | Constante, |
| Standard_Real | Epsilon | ||
| ) |
References CalculateVolume(), Standard_Real, Zmax, and Zmin.
| 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 | ) |
| 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.
| Standard_EXPORT VolumeSection.Standard_Real |
| Standard_EXPORT VolumeSection.gp_Pnt |
TopoDS_Shape VolumeSection.myShape [private] |
Standard_Real VolumeSection.Tolerance [private] |
gp_Pnt VolumeSection.InitPoint [private] |
Standard_Real VolumeSection.Zmin [private] |
Standard_Real VolumeSection.Zmax [private] |
Standard_Real VolumeSection.Ymin [private] |
Standard_Real VolumeSection.Ymax [private] |
Standard_Real VolumeSection.Xmin [private] |
Standard_Real VolumeSection.Xmax [private] |