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

ModelingAlgorithms
TKTopAlgo
BRepLib


BRepLib_FindSurface Class Reference

Provides an algorithm to find a Surface through a
set of edges.

The edges of the shape given as argument are
explored if they are not coplanar at the required
tolerance the method Found returns false.

If a null tolerance is given the max of the edges
tolerances is used.

The method Tolerance returns the true distance of
the edges to the Surface.

The method Surface returns the Surface if found.

The method Existed returns returns True if the
Surface was already attached to some of the edges.

When Existed returns True the Surface may have a
location given by the Location method.
.

#include <BRepLib_FindSurface.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepLib_FindSurface ()
Standard_EXPORT BRepLib_FindSurface (const TopoDS_Shape &S, const Standard_Real Tol=-1, const Standard_Boolean OnlyPlane=Standard_False)
 Computes the Surface from the edges of <s> with the
given tolerance.
if <onlyplane> is true, the computed surface will be
a plane. If it is not possible to find a plane, the
flag NotDone will be set.
.
Standard_EXPORT void Init (const TopoDS_Shape &S, const Standard_Real Tol=-1, const Standard_Boolean OnlyPlane=Standard_False)
 Computes the Surface from the edges of <s> with the
given tolerance.
if <onlyplane> is true, the computed surface will be
a plane. If it is not possible to find a plane, the
flag NotDone will be set.
.
Standard_EXPORT Standard_Boolean Found () const
Standard_EXPORT Handle_Geom_Surface Surface () const
Standard_EXPORT Standard_Real Tolerance () const
Standard_EXPORT Standard_Real ToleranceReached () const
Standard_EXPORT Standard_Boolean Existed () const
Standard_EXPORT TopLoc_Location Location () const

Private Attributes

Handle_Geom_Surface mySurface
Standard_Real myTolerance
Standard_Real myTolReached
Standard_Boolean isExisted
TopLoc_Location myLocation


Constructor & Destructor Documentation

Standard_EXPORT BRepLib_FindSurface::BRepLib_FindSurface  ) 
 

Standard_EXPORT BRepLib_FindSurface::BRepLib_FindSurface const TopoDS_Shape &  S,
const Standard_Real  Tol = -1,
const Standard_Boolean  OnlyPlane = Standard_False
 


Member Function Documentation

Standard_EXPORT Standard_Boolean BRepLib_FindSurface::Existed  )  const
 

Standard_EXPORT Standard_Boolean BRepLib_FindSurface::Found  )  const
 

Standard_EXPORT void BRepLib_FindSurface::Init const TopoDS_Shape &  S,
const Standard_Real  Tol = -1,
const Standard_Boolean  OnlyPlane = Standard_False
 

Standard_EXPORT TopLoc_Location BRepLib_FindSurface::Location  )  const
 

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

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

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

Standard_EXPORT Handle_Geom_Surface BRepLib_FindSurface::Surface  )  const
 

Standard_EXPORT Standard_Real BRepLib_FindSurface::Tolerance  )  const
 

Standard_EXPORT Standard_Real BRepLib_FindSurface::ToleranceReached  )  const
 


Field Documentation

Standard_Boolean BRepLib_FindSurface::isExisted [private]
 

TopLoc_Location BRepLib_FindSurface::myLocation [private]
 

Handle_Geom_Surface BRepLib_FindSurface::mySurface [private]
 

Standard_Real BRepLib_FindSurface::myTolerance [private]
 

Standard_Real BRepLib_FindSurface::myTolReached [private]
 


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