Open CASCADE Technology  7.6.0
Static Public Member Functions

BRepOffset_Inter2d Class Reference

Computes the intersections between edges on a face stores result is SD as AsDes from BRepOffset. More...

#include <BRepOffset_Inter2d.hxx>

Static Public Member Functions

static void Compute (const Handle< BRepAlgo_AsDes > &AsDes, const TopoDS_Face &F, const TopTools_IndexedMapOfShape &NewEdges, const Standard_Real Tol, const TopTools_DataMapOfShapeListOfShape &theEdgeIntEdges, TopTools_IndexedDataMapOfShapeListOfShape &theDMVV, const Message_ProgressRange &theRange)
 Computes the intersections between the edges stored is AsDes as descendants of <F> . Intersections is computed between two edges if one of them is bound in NewEdges. When all faces of the shape are treated the intersection vertices have to be fused using the FuseVertices method. theDMVV contains the vertices that should be fused. More...
 
static Standard_Boolean ConnexIntByInt (const TopoDS_Face &FI, BRepOffset_Offset &OFI, TopTools_DataMapOfShapeShape &MES, const TopTools_DataMapOfShapeShape &Build, const Handle< BRepAlgo_AsDes > &theAsDes, const Handle< BRepAlgo_AsDes > &AsDes2d, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Analyse &Analyse, TopTools_IndexedMapOfShape &FacesWithVerts, BRepAlgo_Image &theImageVV, TopTools_DataMapOfShapeListOfShape &theEdgeIntEdges, TopTools_IndexedDataMapOfShapeListOfShape &theDMVV, const Message_ProgressRange &theRange)
 Computes the intersection between the offset edges of the <FI>. All intersection vertices will be stored in AsDes2d. When all faces of the shape are treated the intersection vertices have to be fused using the FuseVertices method. theDMVV contains the vertices that should be fused. More...
 
static void ConnexIntByIntInVert (const TopoDS_Face &FI, BRepOffset_Offset &OFI, TopTools_DataMapOfShapeShape &MES, const TopTools_DataMapOfShapeShape &Build, const Handle< BRepAlgo_AsDes > &AsDes, const Handle< BRepAlgo_AsDes > &AsDes2d, const Standard_Real Tol, const BRepOffset_Analyse &Analyse, TopTools_IndexedDataMapOfShapeListOfShape &theDMVV, const Message_ProgressRange &theRange)
 Computes the intersection between the offset edges generated from vertices and stored into AsDes as descendants of the <FI>. All intersection vertices will be stored in AsDes2d. When all faces of the shape are treated the intersection vertices have to be fused using the FuseVertices method. theDMVV contains the vertices that should be fused. More...
 
static Standard_Boolean FuseVertices (const TopTools_IndexedDataMapOfShapeListOfShape &theDMVV, const Handle< BRepAlgo_AsDes > &theAsDes, BRepAlgo_Image &theImageVV)
 Fuses the chains of vertices in the theDMVV and updates AsDes by replacing the old vertices with the new ones. More...
 
static Standard_Boolean ExtentEdge (const TopoDS_Edge &E, TopoDS_Edge &NE, const Standard_Real theOffset)
 extents the edge More...
 

Detailed Description

Computes the intersections between edges on a face stores result is SD as AsDes from BRepOffset.

Member Function Documentation

◆ Compute()

static void BRepOffset_Inter2d::Compute ( const Handle< BRepAlgo_AsDes > &  AsDes,
const TopoDS_Face F,
const TopTools_IndexedMapOfShape NewEdges,
const Standard_Real  Tol,
const TopTools_DataMapOfShapeListOfShape theEdgeIntEdges,
TopTools_IndexedDataMapOfShapeListOfShape theDMVV,
const Message_ProgressRange theRange 
)
static

Computes the intersections between the edges stored is AsDes as descendants of <F> . Intersections is computed between two edges if one of them is bound in NewEdges. When all faces of the shape are treated the intersection vertices have to be fused using the FuseVertices method. theDMVV contains the vertices that should be fused.

◆ ConnexIntByInt()

static Standard_Boolean BRepOffset_Inter2d::ConnexIntByInt ( const TopoDS_Face FI,
BRepOffset_Offset OFI,
TopTools_DataMapOfShapeShape MES,
const TopTools_DataMapOfShapeShape Build,
const Handle< BRepAlgo_AsDes > &  theAsDes,
const Handle< BRepAlgo_AsDes > &  AsDes2d,
const Standard_Real  Offset,
const Standard_Real  Tol,
const BRepOffset_Analyse Analyse,
TopTools_IndexedMapOfShape FacesWithVerts,
BRepAlgo_Image theImageVV,
TopTools_DataMapOfShapeListOfShape theEdgeIntEdges,
TopTools_IndexedDataMapOfShapeListOfShape theDMVV,
const Message_ProgressRange theRange 
)
static

Computes the intersection between the offset edges of the <FI>. All intersection vertices will be stored in AsDes2d. When all faces of the shape are treated the intersection vertices have to be fused using the FuseVertices method. theDMVV contains the vertices that should be fused.

◆ ConnexIntByIntInVert()

static void BRepOffset_Inter2d::ConnexIntByIntInVert ( const TopoDS_Face FI,
BRepOffset_Offset OFI,
TopTools_DataMapOfShapeShape MES,
const TopTools_DataMapOfShapeShape Build,
const Handle< BRepAlgo_AsDes > &  AsDes,
const Handle< BRepAlgo_AsDes > &  AsDes2d,
const Standard_Real  Tol,
const BRepOffset_Analyse Analyse,
TopTools_IndexedDataMapOfShapeListOfShape theDMVV,
const Message_ProgressRange theRange 
)
static

Computes the intersection between the offset edges generated from vertices and stored into AsDes as descendants of the <FI>. All intersection vertices will be stored in AsDes2d. When all faces of the shape are treated the intersection vertices have to be fused using the FuseVertices method. theDMVV contains the vertices that should be fused.

◆ ExtentEdge()

static Standard_Boolean BRepOffset_Inter2d::ExtentEdge ( const TopoDS_Edge E,
TopoDS_Edge NE,
const Standard_Real  theOffset 
)
static

extents the edge

◆ FuseVertices()

static Standard_Boolean BRepOffset_Inter2d::FuseVertices ( const TopTools_IndexedDataMapOfShapeListOfShape theDMVV,
const Handle< BRepAlgo_AsDes > &  theAsDes,
BRepAlgo_Image theImageVV 
)
static

Fuses the chains of vertices in the theDMVV and updates AsDes by replacing the old vertices with the new ones.


The documentation for this class was generated from the following file: