Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
ShapeAnalysis_TransferParameters.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_ShapeAnalysis_TransferParameters.hxx>
#include <Standard_Real.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_TColStd_HSequenceOfReal.hxx>
#include <Standard_Boolean.hxx>

Data Structures

class  ShapeAnalysis_TransferParameters
 This tool is used for transferring parameters
from 3d curve of the edge to pcurve and vice versa.

Default behaviour is to trsnafer parameters with help
of linear transformation:

T2d = myShift + myScale * T3d
where
myScale = ( Last2d - First2d ) / ( Last3d - First3d )
myShift = First2d - First3d * myScale
[First3d, Last3d] and [First2d, Last2d] are ranges of
edge on curve and pcurve

This behaviour can be redefined in derived classes, for example,
using projection.
More...