BRepAlgoAPI_Section.hxx File Reference

#include <Standard.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Boolean.hxx>
#include <BRepAlgoAPI_BooleanOperation.hxx>
#include <Handle_Geom_Surface.hxx>
#include <Handle_Geom2d_Curve.hxx>

Data Structures

class  BRepAlgoAPI_Section
 Computes the intersection of two shapes or geometries.
Geometries can be surfaces of planes.
Geometries are converted to faces
When a geometry has been converted to
topology the created shape can be found using
the methods Shape1 and Shape2 inherited from the class BooleanOperation.
The result (Shape() method) is a compound containing
edges built on intersection curves.
By default, the section is performed immediatly in
class constructors, with default values :

  • geometries built are NOT approximated.
  • PCurves are NOT computed on both parts.
    Example : giving two shapes S1,S2 accessing faces,
    let compute the section edges R on S1,S2,
    performing approximation on new curves,
    performing PCurve on part 1 but not on part 2 :
    Standard_Boolean PerformNow = Standard_False;
    BRepBoolAPI_Section S(S1,S2,PerformNow);
    S.ComputePCurveOn1(Standard_True);
    S.Approximation(Standard_True);
    S.Build();
    TopoDS_Shape R = S.Shape();
    On Null Shapes of geometries, NotDone() is called.
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:39:28 2011 for Open CASCADE Technology by  doxygen 1.6.3