Back to index

salome-geom  6.5.0
Classes | Functions
Archimede_VolumeSection.hxx File Reference
#include <gp_Pnt.hxx>
#include <gp_Dir.hxx>
#include <TopoDS_Shape.hxx>
#include <Geom_Plane.hxx>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VolumeSection

Functions

class Handle (Geom_RectangularTrimmedSurface)

Function Documentation

class Handle ( Geom_RectangularTrimmedSurface  )

Definition at line 312 of file Archimede_VolumeSection.cxx.

{
  Standard_Real Umin,Umax,Vmin,Vmax;
  gp_Pnt Pmin(Xmin,Ymin,Zmin);
  GeomAPI_ProjectPointOnSurf Projection(Pmin,myPlane);
  Projection.Parameters(1,Umin,Vmin);
  gp_Pnt Pmax(Xmax,Ymax,Zmax);
  GeomAPI_ProjectPointOnSurf Projection2(Pmax,myPlane);
  Projection2.Parameters(1,Umax,Vmax);
  Handle (Geom_RectangularTrimmedSurface) Plane = new Geom_RectangularTrimmedSurface(myPlane,Umin,Umax,Vmin,Vmax);
  return Plane;
}

Here is the call graph for this function: