Open CASCADE Technology 6.6.0
|
This tool is used for transferring parameters
from 3d curve of the edge to pcurve and vice versa.
This tool transfers parameters with help of
projection points from curve 3d on curve 2d and
vice versa
#include <ShapeAnalysis_TransferParametersProj.hxx>
Public Member Functions | |
ShapeAnalysis_TransferParametersProj () | |
Creats empty constructor. | |
ShapeAnalysis_TransferParametersProj (const TopoDS_Edge &E, const TopoDS_Face &F) | |
virtual void | Init (const TopoDS_Edge &E, const TopoDS_Face &F) |
Initialize a tool with edge and face | |
virtual Handle_TColStd_HSequenceOfReal | Perform (const Handle< TColStd_HSequenceOfReal > &Papams, const Standard_Boolean To2d) |
Transfers parameters given by sequence Params from 3d curve to pcurve (if To2d is True) or back (if To2d is False) | |
virtual Standard_Real | Perform (const Standard_Real Param, const Standard_Boolean To2d) |
Transfers parameter given by Param from 3d curve to pcurve (if To2d is True) or back (if To2d is False) | |
Standard_Boolean & | ForceProjection () |
Returns modifiable flag forcing projection If it is False (default), projection is done only if edge is not SameParameter or if tolerance of edge is greater than MaxTolerance() | |
virtual void | TransferRange (TopoDS_Edge &newEdge, const Standard_Real prevPar, const Standard_Real currPar, const Standard_Boolean Is2d) |
Recomputes range of curves from NewEdge. If Is2d equals True parameters are recomputed by curve2d else by curve3d. | |
virtual Standard_Boolean | IsSameRange () const |
Returns False; | |
Static Public Member Functions | |
static TopoDS_Vertex | CopyNMVertex (const TopoDS_Vertex &theVert, const TopoDS_Edge &toedge, const TopoDS_Edge &fromedge) |
Make a copy of non-manifold vertex theVert (i.e. create new TVertex and replace PointRepresentations for this vertex from fromedge to toedge. Other representations were copied) | |
static TopoDS_Vertex | CopyNMVertex (const TopoDS_Vertex &theVert, const TopoDS_Face &toFace, const TopoDS_Face &fromFace) |
Make a copy of non-manifold vertex theVert (i.e. create new TVertex and replace PointRepresentations for this vertex from fromFace to toFace. Other representations were copied) |
ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj | ( | ) |
ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj | ( | const TopoDS_Edge & | E, |
const TopoDS_Face & | F | ||
) |
static TopoDS_Vertex ShapeAnalysis_TransferParametersProj::CopyNMVertex | ( | const TopoDS_Vertex & | theVert, |
const TopoDS_Edge & | toedge, | ||
const TopoDS_Edge & | fromedge | ||
) | [static] |
static TopoDS_Vertex ShapeAnalysis_TransferParametersProj::CopyNMVertex | ( | const TopoDS_Vertex & | theVert, |
const TopoDS_Face & | toFace, | ||
const TopoDS_Face & | fromFace | ||
) | [static] |
Standard_Boolean& ShapeAnalysis_TransferParametersProj::ForceProjection | ( | ) |
virtual void ShapeAnalysis_TransferParametersProj::Init | ( | const TopoDS_Edge & | E, |
const TopoDS_Face & | F | ||
) | [virtual] |
Reimplemented from ShapeAnalysis_TransferParameters.
virtual Standard_Boolean ShapeAnalysis_TransferParametersProj::IsSameRange | ( | ) | const [virtual] |
Reimplemented from ShapeAnalysis_TransferParameters.
virtual Handle_TColStd_HSequenceOfReal ShapeAnalysis_TransferParametersProj::Perform | ( | const Handle< TColStd_HSequenceOfReal > & | Papams, |
const Standard_Boolean | To2d | ||
) | [virtual] |
Reimplemented from ShapeAnalysis_TransferParameters.
virtual Standard_Real ShapeAnalysis_TransferParametersProj::Perform | ( | const Standard_Real | Param, |
const Standard_Boolean | To2d | ||
) | [virtual] |
Reimplemented from ShapeAnalysis_TransferParameters.
virtual void ShapeAnalysis_TransferParametersProj::TransferRange | ( | TopoDS_Edge & | newEdge, |
const Standard_Real | prevPar, | ||
const Standard_Real | currPar, | ||
const Standard_Boolean | Is2d | ||
) | [virtual] |
Reimplemented from ShapeAnalysis_TransferParameters.