BRepAlgo_Section.hxx File Reference

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

Data Structures

class  BRepAlgo_Section
 Construction of the section lines between two shapes.
For this Boolean operation, each face of the first
shape is intersected by each face of the second
shape. The resulting intersection edges are brought
together into a compound object, but not chained or
grouped into wires.
Computation of the intersection of two Shapes or Surfaces
The two parts involved in this Boolean operation may
be defined from geometric surfaces: the most common
use is the computation of the planar section of a shape.
A Section object provides the framework for:

  • defining the shapes to be intersected, and the
    computation options,
  • implementing the construction algorithm, and
  • consulting the result.
    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