Open CASCADE Technology  6.9.1
Public Member Functions
BRepMesh_EdgeParameterProvider Class Reference

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...
 

Detailed Description

Auxiliary class provides correct parameters on curve regarding SameParameter flag.

Constructor & Destructor Documentation

BRepMesh_EdgeParameterProvider::BRepMesh_EdgeParameterProvider ( const TopoDS_Edge theEdge,
const TopoDS_Face theFace,
const Handle< TColStd_HArray1OfReal > &  theParameters 
)

Constructor.

Parameters
theEdgeedge which parameters should be processed.
theFaceface the parametric values are defined for.
theParametersparameters corresponded to discretization points.

Member Function Documentation

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.


The documentation for this class was generated from the following file: