Open CASCADE Technology
7.5.0

Provides an algorithm to find a Surface through a set of edges. More...
#include <BRepLib_FindSurface.hxx>
Public Member Functions  
BRepLib_FindSurface ()  
BRepLib_FindSurface (const TopoDS_Shape &S, const Standard_Real Tol=1, const Standard_Boolean OnlyPlane=Standard_False, const Standard_Boolean OnlyClosed=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. If <OnlyClosed> is true, then S sould be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored. More...  
void  Init (const TopoDS_Shape &S, const Standard_Real Tol=1, const Standard_Boolean OnlyPlane=Standard_False, const Standard_Boolean OnlyClosed=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. If <OnlyClosed> is true, then S sould be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored. More...  
Standard_Boolean  Found () const 
Handle< Geom_Surface >  Surface () const 
Standard_Real  Tolerance () const 
Standard_Real  ToleranceReached () const 
Standard_Boolean  Existed () const 
TopLoc_Location  Location () const 
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.
BRepLib_FindSurface::BRepLib_FindSurface  (  ) 
BRepLib_FindSurface::BRepLib_FindSurface  (  const TopoDS_Shape &  S, 
const Standard_Real  Tol = 1 , 

const Standard_Boolean  OnlyPlane = Standard_False , 

const Standard_Boolean  OnlyClosed = 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. If <OnlyClosed> is true, then S sould be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored.
Standard_Boolean BRepLib_FindSurface::Existed  (  )  const 
Standard_Boolean BRepLib_FindSurface::Found  (  )  const 
void BRepLib_FindSurface::Init  (  const TopoDS_Shape &  S, 
const Standard_Real  Tol = 1 , 

const Standard_Boolean  OnlyPlane = Standard_False , 

const Standard_Boolean  OnlyClosed = 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. If <OnlyClosed> is true, then S sould be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored.
TopLoc_Location BRepLib_FindSurface::Location  (  )  const 
Handle< Geom_Surface > BRepLib_FindSurface::Surface  (  )  const 
Standard_Real BRepLib_FindSurface::Tolerance  (  )  const 
Standard_Real BRepLib_FindSurface::ToleranceReached  (  )  const 