Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 occ::handle< BRepAlgo_AsDes > &AsDes, const TopoDS_Face &F, const NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > &NewEdges, const double Tol, const NCollection_DataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &theEdgeIntEdges, NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &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.
 
static bool ConnexIntByInt (const TopoDS_Face &FI, BRepOffset_Offset &OFI, NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &MES, const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &Build, const occ::handle< BRepAlgo_AsDes > &theAsDes, const occ::handle< BRepAlgo_AsDes > &AsDes2d, const double Offset, const double Tol, const BRepOffset_Analyse &Analyse, NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > &FacesWithVerts, BRepAlgo_Image &theImageVV, NCollection_DataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &theEdgeIntEdges, NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &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.
 
static void ConnexIntByIntInVert (const TopoDS_Face &FI, BRepOffset_Offset &OFI, NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &MES, const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &Build, const occ::handle< BRepAlgo_AsDes > &AsDes, const occ::handle< BRepAlgo_AsDes > &AsDes2d, const double Tol, const BRepOffset_Analyse &Analyse, NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &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.
 
static bool FuseVertices (const NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > &theDMVV, const occ::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.
 
static bool ExtentEdge (const TopoDS_Edge &E, TopoDS_Edge &NE, const double theOffset)
 extents the edge
 

Detailed Description

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

Member Function Documentation

◆ Compute()

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()

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()

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 bool BRepOffset_Inter2d::ExtentEdge ( const TopoDS_Edge & E,
TopoDS_Edge & NE,
const double theOffset )
static

extents the edge

◆ FuseVertices()

static bool BRepOffset_Inter2d::FuseVertices ( const NCollection_IndexedDataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHasher > & theDMVV,
const occ::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: