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...
|
| ShapeAnalysis_TransferParametersProj () |
| Creates empty constructor.
|
|
| ShapeAnalysis_TransferParametersProj (const TopoDS_Edge &E, const TopoDS_Face &F) |
|
virtual void | Init (const TopoDS_Edge &E, const TopoDS_Face &F) override |
| Initialize a tool with edge and face.
|
|
virtual Handle< TColStd_HSequenceOfReal > | Perform (const Handle< TColStd_HSequenceOfReal > &Papams, const Standard_Boolean To2d) override |
| 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) override |
| 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) override |
| Recomputes range of curves from NewEdge. If Is2d equals True parameters are recomputed by curve2d else by curve3d.
|
|
virtual Standard_Boolean | IsSameRange () const override |
| Returns False;.
|
|
| ShapeAnalysis_TransferParameters () |
| Creates empty tool with myShift = 0 and myScale = 1.
|
|
| ShapeAnalysis_TransferParameters (const TopoDS_Edge &E, const TopoDS_Face &F) |
| Creates a tool and initializes it with edge and face.
|
|
void | SetMaxTolerance (const Standard_Real maxtol) |
| Sets maximal tolerance to use linear recomputation of parameters.
|
|
Public Member Functions inherited from Standard_Transient |
| Standard_Transient () |
| Empty constructor.
|
|
| Standard_Transient (const Standard_Transient &) |
| Copy constructor – does nothing.
|
|
Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter.
|
|
virtual | ~Standard_Transient () |
| Destructor must be virtual.
|
|
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| Returns a type descriptor about this object.
|
|
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| Returns a true value if this is an instance of Type.
|
|
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName.
|
|
Standard_Boolean | IsKind (const opencascade::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.
|
|
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.
|
|
Standard_Transient * | This () const |
| Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
|
|
Standard_Integer | GetRefCount () const noexcept |
| Get the reference counter of this object.
|
|
void | IncrementRefCounter () noexcept |
| Increments the reference counter of this object.
|
|
Standard_Integer | DecrementRefCounter () noexcept |
| Decrements the reference counter of this object; returns the decremented value.
|
|
virtual void | Delete () const |
| Memory deallocator for transient classes.
|
|
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.