#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 |
VolumeSection::VolumeSection | ( | TopoDS_Shape | S, |
Standard_Real | Precision | ||
) |
Standard_Real VolumeSection::Archimede | ( | Standard_Real | Constante, |
Standard_Real | Epsilon | ||
) |
References CalculateVolume(), Standard_Real, Zmax, and Zmin.
Standard_Real VolumeSection::CalculateVolume | ( | Standard_Real | Elevation | ) |
References ElementaryVolume(), gp_Pnt, Handle(), InitPoint, Intersection(), myShape, and Standard_Real.
void VolumeSection::CenterOfGravity | ( | ) |
|
private |
References InitPoint, and Standard_Real.
TopoDS_Shape VolumeSection::GetShape | ( | ) |
References myShape.
Standard_EXPORT VolumeSection::Handle | ( | Geom_RectangularTrimmedSurface | ) |
Standard_EXPORT VolumeSection::Handle | ( | Geom_RectangularTrimmedSurface | ) |
Standard_EXPORT VolumeSection::Handle | ( | Geom_RectangularTrimmedSurface | ) |
Standard_EXPORT VolumeSection::Handle | ( | Geom_RectangularTrimmedSurface | ) |
|
private |
|
private |
References gp_Pnt, and Standard_Real.
void VolumeSection::MakeRotation | ( | gp_Dir | PlaneDirection | ) |
References gp_Pnt, myShape, and Standard_Real.
void VolumeSection::SetPlane | ( | Handle(Geom_Plane) | P | ) |
Standard_EXPORT VolumeSection::gp_Pnt |
|
private |
|
private |
Standard_EXPORT VolumeSection::Standard_Real |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |