Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
ShapeFix_IntersectionTool Class Reference

Tool for fixing selfintersecting wire and intersecting wires. More...

#include <ShapeFix_IntersectionTool.hxx>

Public Member Functions

 ShapeFix_IntersectionTool (const occ::handle< ShapeBuild_ReShape > &context, const double preci, const double maxtol=1.0)
 Constructor.
 
occ::handle< ShapeBuild_ReShapeContext () const
 Returns context.
 
bool SplitEdge (const TopoDS_Edge &edge, const double param, const TopoDS_Vertex &vert, const TopoDS_Face &face, TopoDS_Edge &newE1, TopoDS_Edge &newE2, const double preci) const
 Split edge on two new edges using new vertex "vert" and "param" - parameter for splitting The "face" is necessary for pcurves and using TransferParameterProj.
 
bool CutEdge (const TopoDS_Edge &edge, const double pend, const double cut, const TopoDS_Face &face, bool &iscutline) const
 Cut edge by parameters pend and cut.
 
bool FixSelfIntersectWire (occ::handle< ShapeExtend_WireData > &sewd, const TopoDS_Face &face, int &NbSplit, int &NbCut, int &NbRemoved) const
 
bool FixIntersectingWires (TopoDS_Face &face) const
 

Detailed Description

Tool for fixing selfintersecting wire and intersecting wires.

Constructor & Destructor Documentation

◆ ShapeFix_IntersectionTool()

ShapeFix_IntersectionTool::ShapeFix_IntersectionTool ( const occ::handle< ShapeBuild_ReShape > & context,
const double preci,
const double maxtol = 1.0 )

Constructor.

Member Function Documentation

◆ Context()

occ::handle< ShapeBuild_ReShape > ShapeFix_IntersectionTool::Context ( ) const

Returns context.

◆ CutEdge()

bool ShapeFix_IntersectionTool::CutEdge ( const TopoDS_Edge & edge,
const double pend,
const double cut,
const TopoDS_Face & face,
bool & iscutline ) const

Cut edge by parameters pend and cut.

◆ FixIntersectingWires()

bool ShapeFix_IntersectionTool::FixIntersectingWires ( TopoDS_Face & face) const

◆ FixSelfIntersectWire()

bool ShapeFix_IntersectionTool::FixSelfIntersectWire ( occ::handle< ShapeExtend_WireData > & sewd,
const TopoDS_Face & face,
int & NbSplit,
int & NbCut,
int & NbRemoved ) const

◆ SplitEdge()

bool ShapeFix_IntersectionTool::SplitEdge ( const TopoDS_Edge & edge,
const double param,
const TopoDS_Vertex & vert,
const TopoDS_Face & face,
TopoDS_Edge & newE1,
TopoDS_Edge & newE2,
const double preci ) const

Split edge on two new edges using new vertex "vert" and "param" - parameter for splitting The "face" is necessary for pcurves and using TransferParameterProj.


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