Open CASCADE Technology 6.5.2
Public Member Functions
ShapeFix_IntersectionTool Class Reference

Tool for fixing selfintersecting wire
and intersecting wires

#include <ShapeFix_IntersectionTool.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 ShapeFix_IntersectionTool (const Handle< ShapeBuild_ReShape > &context, const Standard_Real preci, const Standard_Real maxtol=1.0)
 Constructor

Handle_ShapeBuild_ReShape Context () const
 Returns context

Standard_Boolean SplitEdge (const TopoDS_Edge &edge, const Standard_Real param, const TopoDS_Vertex &vert, const TopoDS_Face &face, TopoDS_Edge &newE1, TopoDS_Edge &newE2, const Standard_Real 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

Standard_Boolean CutEdge (const TopoDS_Edge &edge, const Standard_Real pend, const Standard_Real cut, const TopoDS_Face &face, Standard_Boolean &iscutline) const
 Cut edge by parameters pend and cut

Standard_Boolean FixSelfIntersectWire (Handle< ShapeExtend_WireData > &sewd, const TopoDS_Face &face, Standard_Integer &NbSplit, Standard_Integer &NbCut, Standard_Integer &NbRemoved) const
Standard_Boolean FixIntersectingWires (TopoDS_Face &face) const

Constructor & Destructor Documentation

ShapeFix_IntersectionTool::ShapeFix_IntersectionTool ( const Handle< ShapeBuild_ReShape > &  context,
const Standard_Real  preci,
const Standard_Real  maxtol = 1.0 
)

Member Function Documentation

Handle_ShapeBuild_ReShape ShapeFix_IntersectionTool::Context ( ) const
Standard_Boolean ShapeFix_IntersectionTool::CutEdge ( const TopoDS_Edge edge,
const Standard_Real  pend,
const Standard_Real  cut,
const TopoDS_Face face,
Standard_Boolean iscutline 
) const
Standard_Boolean ShapeFix_IntersectionTool::FixIntersectingWires ( TopoDS_Face face) const
Standard_Boolean ShapeFix_IntersectionTool::FixSelfIntersectWire ( Handle< ShapeExtend_WireData > &  sewd,
const TopoDS_Face face,
Standard_Integer NbSplit,
Standard_Integer NbCut,
Standard_Integer NbRemoved 
) const
void ShapeFix_IntersectionTool::operator delete ( void *  anAddress) [inline]
void* ShapeFix_IntersectionTool::operator new ( size_t  size) [inline]
void* ShapeFix_IntersectionTool::operator new ( size_t  ,
void *  anAddress 
) [inline]
Standard_Boolean ShapeFix_IntersectionTool::SplitEdge ( const TopoDS_Edge edge,
const Standard_Real  param,
const TopoDS_Vertex vert,
const TopoDS_Face face,
TopoDS_Edge newE1,
TopoDS_Edge newE2,
const Standard_Real  preci 
) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines