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

ModelingAlgorithms
TKShHealing
ShapeFix


ShapeFix_ShapeTolerance Class Reference

Modifies tolerances of sub-shapes (vertices, edges, faces)
.

#include <ShapeFix_ShapeTolerance.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT ShapeFix_ShapeTolerance ()
Standard_EXPORT Standard_Boolean LimitTolerance (const TopoDS_Shape &shape, const Standard_Real tmin, const Standard_Real tmax=0.0, const TopAbs_ShapeEnum styp=TopAbs_SHAPE) const
 Limits tolerances in a shape as follows :
tmin = tmax -> as SetTolerance (forces)
tmin = 0 -> maximum tolerance will be <tmax>
tmax = 0 or not given (more generally, tmax < tmin) ->
<tmax> ignored, minimum will be <tmin>
else, maximum will be <max> and minimum will be <min>
styp = VERTEX : only vertices are set
styp = EDGE : only edges are set
styp = FACE : only faces are set
styp = WIRE : to have edges and their vertices set
styp = other value : all (vertices,edges,faces) are set
Returns True if at least one tolerance of the sub-shape has
been modified
.
Standard_EXPORT void SetTolerance (const TopoDS_Shape &shape, const Standard_Real preci, const TopAbs_ShapeEnum styp=TopAbs_SHAPE) const
 Sets (enforces) tolerances in a shape to the given value
styp = VERTEX : only vertices are set
styp = EDGE : only edges are set
styp = FACE : only faces are set
styp = WIRE : to have edges and their vertices set
styp = other value : all (vertices,edges,faces) are set
.


Constructor & Destructor Documentation

Standard_EXPORT ShapeFix_ShapeTolerance::ShapeFix_ShapeTolerance  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Boolean ShapeFix_ShapeTolerance::LimitTolerance const TopoDS_Shape &  shape,
const Standard_Real  tmin,
const Standard_Real  tmax = 0.0,
const TopAbs_ShapeEnum  styp = TopAbs_SHAPE
const
 

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

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

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

Standard_EXPORT void ShapeFix_ShapeTolerance::SetTolerance const TopoDS_Shape &  shape,
const Standard_Real  preci,
const TopAbs_ShapeEnum  styp = TopAbs_SHAPE
const
 


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