Open CASCADE Technology  6.9.0
Public Member Functions | Static Public Member Functions

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

#include <ShapeAnalysis_TransferParametersProj.hxx>

Inheritance diagram for ShapeAnalysis_TransferParametersProj:
Inheritance graph
[legend]

Public Member Functions

 ShapeAnalysis_TransferParametersProj ()
 Creats empty constructor. More...
 
 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. More...
 
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) More...
 
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) More...
 
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() More...
 
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. More...
 
virtual Standard_Boolean IsSameRange () const
 Returns False;. More...
 
- Public Member Functions inherited from ShapeAnalysis_TransferParameters
 ShapeAnalysis_TransferParameters ()
 Creates empty tool with myShift = 0 and myScale = 1. More...
 
 ShapeAnalysis_TransferParameters (const TopoDS_Edge &E, const TopoDS_Face &F)
 Creates a tool and initializes it with edge and face. More...
 
void SetMaxTolerance (const Standard_Real maxtol)
 Sets maximal tolerance to use linear recomputation of parameters. More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

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

Additional Inherited Members

- Protected Attributes inherited from ShapeAnalysis_TransferParameters
Standard_Real myFirst
 
Standard_Real myLast
 
TopoDS_Edge myEdge
 
Standard_Real myMaxTolerance
 

Detailed Description

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.

Constructor & Destructor Documentation

ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj ( )

Creats empty constructor.

ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj ( const TopoDS_Edge E,
const TopoDS_Face F 
)

Member Function Documentation

static TopoDS_Vertex ShapeAnalysis_TransferParametersProj::CopyNMVertex ( const TopoDS_Vertex theVert,
const TopoDS_Edge toedge,
const TopoDS_Edge fromedge 
)
static

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 ShapeAnalysis_TransferParametersProj::CopyNMVertex ( const TopoDS_Vertex theVert,
const TopoDS_Face toFace,
const TopoDS_Face fromFace 
)
static

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)

Standard_Boolean& ShapeAnalysis_TransferParametersProj::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 ShapeAnalysis_TransferParametersProj::Init ( const TopoDS_Edge E,
const TopoDS_Face F 
)
virtual

Initialize a tool with edge and face.

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Standard_Boolean ShapeAnalysis_TransferParametersProj::IsSameRange ( ) const
virtual

Returns False;.

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Handle< TColStd_HSequenceOfReal > ShapeAnalysis_TransferParametersProj::Perform ( const Handle< TColStd_HSequenceOfReal > &  Papams,
const Standard_Boolean  To2d 
)
virtual

Transfers parameters given by sequence Params from 3d curve to pcurve (if To2d is True) or back (if To2d is False)

Reimplemented from ShapeAnalysis_TransferParameters.

virtual Standard_Real ShapeAnalysis_TransferParametersProj::Perform ( const Standard_Real  Param,
const Standard_Boolean  To2d 
)
virtual

Transfers parameter given by Param from 3d curve to pcurve (if To2d is True) or back (if To2d is False)

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

Recomputes range of curves from NewEdge. If Is2d equals True parameters are recomputed by curve2d else by curve3d.

Reimplemented from ShapeAnalysis_TransferParameters.


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