Open CASCADE Technology
7.1.0.beta
|
Auxiliary class provides correct parameters on curve regarding SameParameter flag. More...
#include <BRepMesh_EdgeParameterProvider.hxx>
Public Member Functions | |
BRepMesh_EdgeParameterProvider (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, const Handle< TColStd_HArray1OfReal > &theParameters) | |
Constructor. More... | |
Standard_Real | Parameter (const Standard_Integer theIndex, const gp_Pnt &thePoint3d) |
Returns parameter according to SameParameter flag of the edge. If SameParameter is TRUE returns value from parameters w/o changes, elsewhere scales initial parameter and tries to determine resulting value using projection of the corresponded 3D point on PCurve. More... | |
Auxiliary class provides correct parameters on curve regarding SameParameter flag.
BRepMesh_EdgeParameterProvider::BRepMesh_EdgeParameterProvider | ( | const TopoDS_Edge & | theEdge, |
const TopoDS_Face & | theFace, | ||
const Handle< TColStd_HArray1OfReal > & | theParameters | ||
) |
Constructor.
theEdge | edge which parameters should be processed. |
theFace | face the parametric values are defined for. |
theParameters | parameters corresponded to discretization points. |
Standard_Real BRepMesh_EdgeParameterProvider::Parameter | ( | const Standard_Integer | theIndex, |
const gp_Pnt & | thePoint3d | ||
) |
Returns parameter according to SameParameter flag of the edge. If SameParameter is TRUE returns value from parameters w/o changes, elsewhere scales initial parameter and tries to determine resulting value using projection of the corresponded 3D point on PCurve.