OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKShHealing
ShapeAnalysis


ShapeAnalysis_TransferParametersProj Class Reference

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>

Inheritance diagram for ShapeAnalysis_TransferParametersProj:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT ShapeAnalysis_TransferParametersProj ()
 Creats empty constructor.
.
Standard_EXPORT ShapeAnalysis_TransferParametersProj (const TopoDS_Edge &E, const TopoDS_Face &F)
virtual Standard_EXPORT void Init (const TopoDS_Edge &E, const TopoDS_Face &F)
 Initialize a tool with edge and face
.
virtual Standard_EXPORT 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_EXPORT 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_EXPORT Standard_BooleanForceProjection ()
 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 Standard_EXPORT 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_EXPORT Standard_Boolean IsSameRange () const
 Returns False;

.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Static Public Member Functions

static Standard_EXPORT 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 Standard_EXPORT 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)
.

Private Member Functions

Standard_EXPORT Standard_Real PreformSegment (const Standard_Real Param, const Standard_Boolean To2d, const Standard_Real First, const Standard_Real Last)

Private Attributes

Handle_Geom_Curve myCurve
Handle_Geom2d_Curve myCurve2d
Adaptor3d_CurveOnSurface myAC3d
Standard_Real myPrecision
TopLoc_Location myLocation
Standard_Boolean myForceProj
Standard_Boolean myInitOK

Constructor & Destructor Documentation

Standard_EXPORT ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj  ) 
 

Standard_EXPORT ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj const TopoDS_Edge &  E,
const TopoDS_Face &  F
 


Member Function Documentation

static Standard_EXPORT TopoDS_Vertex ShapeAnalysis_TransferParametersProj::CopyNMVertex const TopoDS_Vertex &  theVert,
const TopoDS_Face &  toFace,
const TopoDS_Face &  fromFace
[static]
 

static Standard_EXPORT TopoDS_Vertex ShapeAnalysis_TransferParametersProj::CopyNMVertex const TopoDS_Vertex &  theVert,
const TopoDS_Edge &  toedge,
const TopoDS_Edge &  fromedge
[static]
 

Standard_EXPORT Standard_Boolean& ShapeAnalysis_TransferParametersProj::ForceProjection  ) 
 

Standard_EXPORT const ShapeAnalysis_TransferParametersProj::Handle Standard_Type   )  const
 

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Standard_EXPORT void ShapeAnalysis_TransferParametersProj::Init const TopoDS_Edge &  E,
const TopoDS_Face &  F
[virtual]
 

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Standard_EXPORT Standard_Boolean ShapeAnalysis_TransferParametersProj::IsSameRange  )  const [virtual]
 

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Standard_EXPORT Standard_Real ShapeAnalysis_TransferParametersProj::Perform const Standard_Real  Param,
const Standard_Boolean  To2d
[virtual]
 

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Standard_EXPORT Handle_TColStd_HSequenceOfReal ShapeAnalysis_TransferParametersProj::Perform const Handle(TColStd_HSequenceOfReal)&  Papams,
const Standard_Boolean  To2d
[virtual]
 

Reimplemented from ShapeAnalysis_TransferParameters.

Standard_EXPORT Standard_Real ShapeAnalysis_TransferParametersProj::PreformSegment const Standard_Real  Param,
const Standard_Boolean  To2d,
const Standard_Real  First,
const Standard_Real  Last
[private]
 

virtual Standard_EXPORT void ShapeAnalysis_TransferParametersProj::TransferRange TopoDS_Edge &  newEdge,
const Standard_Real  prevPar,
const Standard_Real  currPar,
const Standard_Boolean  Is2d
[virtual]
 

Reimplemented from ShapeAnalysis_TransferParameters.


Field Documentation

Adaptor3d_CurveOnSurface ShapeAnalysis_TransferParametersProj::myAC3d [private]
 

Handle_Geom_Curve ShapeAnalysis_TransferParametersProj::myCurve [private]
 

Handle_Geom2d_Curve ShapeAnalysis_TransferParametersProj::myCurve2d [private]
 

Standard_Boolean ShapeAnalysis_TransferParametersProj::myForceProj [private]
 

Standard_Boolean ShapeAnalysis_TransferParametersProj::myInitOK [private]
 

TopLoc_Location ShapeAnalysis_TransferParametersProj::myLocation [private]
 

Standard_Real ShapeAnalysis_TransferParametersProj::myPrecision [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:34 2008 for OpenCASCADE by  doxygen 1.4.1