OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKShHealing
ShapeFix


ShapeFix Class Reference

This package provides algorithms for fixing
problematic (violating Open CASCADE requirements) shapes.
Tools from package ShapeAnalysis are used for detecting the problems. The
detecting and fixing is done taking in account various
criteria implemented in BRepCheck package.
Each class of package ShapeFix deals with one
certain type of shapes or with some family of problems.
.

#include <ShapeFix.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT Standard_Boolean SameParameter (const TopoDS_Shape &shape, const Standard_Boolean enforce, const Standard_Real preci=0.0)
 Runs SameParameter from BRepLib with these adaptations :
<enforce> forces computations, else they are made only on
Edges with flag SameParameter false
<preci>, if not precised, is taken for each EDge as its own
Tolerance
Returns True when done, False if an exception has been raised
In case of exception anyway, as many edges as possible have
been processed
.
static Standard_EXPORT void EncodeRegularity (const TopoDS_Shape &shape, const Standard_Real tolang=1.0e-10)
 Runs EncodeRegularity from BRepLib taking into account
shared components of assemblies, so that each component
is processed only once
.
static Standard_EXPORT TopoDS_Shape RemoveSmallEdges (TopoDS_Shape &shape, const Standard_Real Tolerance, Handle(ShapeBuild_ReShape)&context)
 Removes edges which are less than given tolerance from shape
with help of ShapeFix_Wire::FixSmall()
.
static Standard_EXPORT Standard_Boolean FixVertexPosition (TopoDS_Shape &theshape, const Standard_Real theTolerance, const Handle(ShapeBuild_ReShape)&thecontext)
 Fix position of the vertices having tolerance more tnan specified one.;
.


Member Function Documentation

static Standard_EXPORT void ShapeFix::EncodeRegularity const TopoDS_Shape &  shape,
const Standard_Real  tolang = 1.0e-10
[static]
 

static Standard_EXPORT Standard_Boolean ShapeFix::FixVertexPosition TopoDS_Shape &  theshape,
const Standard_Real  theTolerance,
const Handle(ShapeBuild_ReShape)&  thecontext
[static]
 

void ShapeFix::operator delete void *  anAddress  )  [inline]
 

void* ShapeFix::operator new size_t  size  )  [inline]
 

void* ShapeFix::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT TopoDS_Shape ShapeFix::RemoveSmallEdges TopoDS_Shape &  shape,
const Standard_Real  Tolerance,
Handle(ShapeBuild_ReShape)&  context
[static]
 

static Standard_EXPORT Standard_Boolean ShapeFix::SameParameter const TopoDS_Shape &  shape,
const Standard_Boolean  enforce,
const Standard_Real  preci = 0.0
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:37 2008 for OpenCASCADE by  doxygen 1.4.1