|
Open CASCADE Technology
7.4.0
|
Computes the max distance between edge and its 2d representation on the face. More...
#include <BRepLib_CheckCurveOnSurface.hxx>
Public Member Functions | |
| BRepLib_CheckCurveOnSurface () | |
| Default contructor. More... | |
| BRepLib_CheckCurveOnSurface (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) | |
| Contructor. More... | |
| void | Init (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) |
| Sets the data for the algorithm. More... | |
| void | Perform (const Standard_Boolean isTheMultyTheradDisabled=Standard_False) |
| Performs the calculation If isTheMultyTheadDisabled == TRUE then computation will be made without any parallelization. More... | |
| const Handle< Geom_Curve > & | Curve () const |
| Returns source 3D-Curve. More... | |
| const Handle< Geom2d_Curve > & | PCurve () const |
| Returns mine 2D-Curve. More... | |
| const Handle< Geom2d_Curve > & | PCurve2 () const |
| Returns 2nd 2D-Curve (if it exists, e.g. for seam-edge) More... | |
| const Handle< Geom_Surface > & | Surface () const |
| Returns source surface. More... | |
| void | Range (Standard_Real &theFirst, Standard_Real &theLast) |
| Returns first and last parameter of the curves (2D- and 3D-curves are considered to have same range) More... | |
| Standard_Boolean | IsDone () const |
| Returns true if the max distance has been found. More... | |
| Standard_Integer | ErrorStatus () const |
| Returns error status The possible values are: 0 - OK; 1 - null curve or surface or 2d curve; 2 - invalid parametric range; 3 - error in calculations. More... | |
| Standard_Real | MaxDistance () const |
| Returns max distance. More... | |
| Standard_Real | MaxParameter () const |
| Returns parameter in which the distance is maximal. More... | |
Protected Member Functions | |
| void | Compute (const Handle< Geom2d_Curve > &thePCurve, const Standard_Boolean isTheMultyTheradDisabled) |
| Computes the max distance for the 3d curve of <myCOnSurfGeom> and 2d curve <thePCurve> If isTheMultyTheadDisabled == TRUE then computation will be made without any parallelization. More... | |
Computes the max distance between edge and its 2d representation on the face.
|
inline |
Default contructor.
| BRepLib_CheckCurveOnSurface::BRepLib_CheckCurveOnSurface | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Face & | theFace | ||
| ) |
Contructor.
|
protected |
Computes the max distance for the 3d curve of <myCOnSurfGeom> and 2d curve <thePCurve> If isTheMultyTheadDisabled == TRUE then computation will be made without any parallelization.
|
inline |
Returns source 3D-Curve.
|
inline |
Returns error status The possible values are: 0 - OK; 1 - null curve or surface or 2d curve; 2 - invalid parametric range; 3 - error in calculations.
| void BRepLib_CheckCurveOnSurface::Init | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Face & | theFace | ||
| ) |
Sets the data for the algorithm.
|
inline |
Returns true if the max distance has been found.
|
inline |
Returns max distance.
|
inline |
Returns parameter in which the distance is maximal.
|
inline |
Returns mine 2D-Curve.
|
inline |
Returns 2nd 2D-Curve (if it exists, e.g. for seam-edge)
| void BRepLib_CheckCurveOnSurface::Perform | ( | const Standard_Boolean | isTheMultyTheradDisabled = Standard_False | ) |
Performs the calculation If isTheMultyTheadDisabled == TRUE then computation will be made without any parallelization.
|
inline |
Returns first and last parameter of the curves (2D- and 3D-curves are considered to have same range)
|
inline |
Returns source surface.
1.8.13