Open CASCADE Technology  7.7.0
Public Member Functions
ShapeAlgo_AlgoContainer Class Reference

#include <ShapeAlgo_AlgoContainer.hxx>

Inheritance diagram for ShapeAlgo_AlgoContainer:
Inheritance graph
[legend]

Public Member Functions

 ShapeAlgo_AlgoContainer ()
 Empty constructor. More...
 
void SetToolContainer (const Handle< ShapeAlgo_ToolContainer > &TC)
 Sets ToolContainer. More...
 
Handle< ShapeAlgo_ToolContainerToolContainer () const
 Returns ToolContainer. More...
 
virtual Standard_Boolean ConnectNextWire (const Handle< ShapeAnalysis_Wire > &saw, const Handle< ShapeExtend_WireData > &nextsewd, const Standard_Real maxtol, Standard_Real &distmin, Standard_Boolean &revsewd, Standard_Boolean &revnextsewd) const
 Finds the best way to connect and connects <nextsewd> to already built <sewd> (in <saw>). Returns False if <nextsewd> cannot be connected, otherwise - True. <maxtol> specifies the maximum tolerance with which <nextsewd> can be added. <distmin> is used to receive the minimum distance between <nextsewd> and <sewd>. <revsewd> is True if <sewd> has been reversed before connecting. <revnextwd> is True if <nextsewd> has been reversed before connecting. Uses functionality of ShapeAnalysis_Wire. More...
 
virtual void ApproxBSplineCurve (const Handle< Geom_BSplineCurve > &bspline, TColGeom_SequenceOfCurve &seq) const
 
virtual void ApproxBSplineCurve (const Handle< Geom2d_BSplineCurve > &bspline, TColGeom2d_SequenceOfCurve &seq) const
 
virtual Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle< Geom_BSplineCurve > &BS, Handle< TColGeom_HSequenceOfBoundedCurve > &seqBS) const
 
virtual Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle< Geom2d_BSplineCurve > &BS, Handle< TColGeom2d_HSequenceOfBoundedCurve > &seqBS) const
 Converts C0 B-Spline curve into sequence of C1 B-Spline curves. Calls ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve. More...
 
virtual TopoDS_Shape C0ShapeToC1Shape (const TopoDS_Shape &shape, const Standard_Real tol) const
 Converts a shape on C0 geometry into the shape on C1 geometry. More...
 
virtual Handle< Geom_BSplineSurfaceConvertSurfaceToBSpline (const Handle< Geom_Surface > &surf, const Standard_Real UF, const Standard_Real UL, const Standard_Real VF, const Standard_Real VL) const
 Converts a surface to B-Spline. Uses ShapeConstruct. More...
 
virtual Standard_Boolean HomoWires (const TopoDS_Wire &wireIn1, const TopoDS_Wire &wireIn2, TopoDS_Wire &wireOut1, TopoDS_Wire &wireOut2, const Standard_Boolean byParam) const
 Return 2 wires with the same number of edges. The both Edges number i of these wires have got the same ratio between theirs parameter lengths and their wire parameter lengths. More...
 
virtual TopoDS_Wire OuterWire (const TopoDS_Face &face) const
 Returns the outer wire on the face <Face>. More...
 
virtual Handle< Geom_SurfaceConvertToPeriodic (const Handle< Geom_Surface > &surf) const
 Converts surface to periodic form. Calls ShapeCustom_Surface. More...
 
virtual void GetFaceUVBounds (const TopoDS_Face &F, Standard_Real &Umin, Standard_Real &Umax, Standard_Real &Vmin, Standard_Real &Vmax) const
 Computes exact UV bounds of all wires on the face. More...
 
virtual Handle< Geom_BSplineCurveConvertCurveToBSpline (const Handle< Geom_Curve > &C3D, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol3d, const GeomAbs_Shape Continuity, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree) const
 Convert Geom_Curve to Geom_BSplineCurve. 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 void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::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 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. 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...
 
Standard_TransientThis () 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. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Constructor & Destructor Documentation

◆ ShapeAlgo_AlgoContainer()

ShapeAlgo_AlgoContainer::ShapeAlgo_AlgoContainer ( )

Empty constructor.

Member Function Documentation

◆ ApproxBSplineCurve() [1/2]

virtual void ShapeAlgo_AlgoContainer::ApproxBSplineCurve ( const Handle< Geom_BSplineCurve > &  bspline,
TColGeom_SequenceOfCurve seq 
) const
virtual

◆ ApproxBSplineCurve() [2/2]

virtual void ShapeAlgo_AlgoContainer::ApproxBSplineCurve ( const Handle< Geom2d_BSplineCurve > &  bspline,
TColGeom2d_SequenceOfCurve seq 
) const
virtual

◆ C0BSplineToSequenceOfC1BSplineCurve() [1/2]

virtual Standard_Boolean ShapeAlgo_AlgoContainer::C0BSplineToSequenceOfC1BSplineCurve ( const Handle< Geom_BSplineCurve > &  BS,
Handle< TColGeom_HSequenceOfBoundedCurve > &  seqBS 
) const
virtual

◆ C0BSplineToSequenceOfC1BSplineCurve() [2/2]

virtual Standard_Boolean ShapeAlgo_AlgoContainer::C0BSplineToSequenceOfC1BSplineCurve ( const Handle< Geom2d_BSplineCurve > &  BS,
Handle< TColGeom2d_HSequenceOfBoundedCurve > &  seqBS 
) const
virtual

Converts C0 B-Spline curve into sequence of C1 B-Spline curves. Calls ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve.

◆ C0ShapeToC1Shape()

virtual TopoDS_Shape ShapeAlgo_AlgoContainer::C0ShapeToC1Shape ( const TopoDS_Shape shape,
const Standard_Real  tol 
) const
virtual

Converts a shape on C0 geometry into the shape on C1 geometry.

◆ ConnectNextWire()

virtual Standard_Boolean ShapeAlgo_AlgoContainer::ConnectNextWire ( const Handle< ShapeAnalysis_Wire > &  saw,
const Handle< ShapeExtend_WireData > &  nextsewd,
const Standard_Real  maxtol,
Standard_Real distmin,
Standard_Boolean revsewd,
Standard_Boolean revnextsewd 
) const
virtual

Finds the best way to connect and connects <nextsewd> to already built <sewd> (in <saw>). Returns False if <nextsewd> cannot be connected, otherwise - True. <maxtol> specifies the maximum tolerance with which <nextsewd> can be added. <distmin> is used to receive the minimum distance between <nextsewd> and <sewd>. <revsewd> is True if <sewd> has been reversed before connecting. <revnextwd> is True if <nextsewd> has been reversed before connecting. Uses functionality of ShapeAnalysis_Wire.

◆ ConvertCurveToBSpline()

virtual Handle< Geom_BSplineCurve > ShapeAlgo_AlgoContainer::ConvertCurveToBSpline ( const Handle< Geom_Curve > &  C3D,
const Standard_Real  First,
const Standard_Real  Last,
const Standard_Real  Tol3d,
const GeomAbs_Shape  Continuity,
const Standard_Integer  MaxSegments,
const Standard_Integer  MaxDegree 
) const
virtual

◆ ConvertSurfaceToBSpline()

virtual Handle< Geom_BSplineSurface > ShapeAlgo_AlgoContainer::ConvertSurfaceToBSpline ( const Handle< Geom_Surface > &  surf,
const Standard_Real  UF,
const Standard_Real  UL,
const Standard_Real  VF,
const Standard_Real  VL 
) const
virtual

Converts a surface to B-Spline. Uses ShapeConstruct.

◆ ConvertToPeriodic()

virtual Handle< Geom_Surface > ShapeAlgo_AlgoContainer::ConvertToPeriodic ( const Handle< Geom_Surface > &  surf) const
virtual

Converts surface to periodic form. Calls ShapeCustom_Surface.

◆ GetFaceUVBounds()

virtual void ShapeAlgo_AlgoContainer::GetFaceUVBounds ( const TopoDS_Face F,
Standard_Real Umin,
Standard_Real Umax,
Standard_Real Vmin,
Standard_Real Vmax 
) const
virtual

Computes exact UV bounds of all wires on the face.

◆ HomoWires()

virtual Standard_Boolean ShapeAlgo_AlgoContainer::HomoWires ( const TopoDS_Wire wireIn1,
const TopoDS_Wire wireIn2,
TopoDS_Wire wireOut1,
TopoDS_Wire wireOut2,
const Standard_Boolean  byParam 
) const
virtual

Return 2 wires with the same number of edges. The both Edges number i of these wires have got the same ratio between theirs parameter lengths and their wire parameter lengths.

◆ OuterWire()

virtual TopoDS_Wire ShapeAlgo_AlgoContainer::OuterWire ( const TopoDS_Face face) const
virtual

Returns the outer wire on the face <Face>.

◆ SetToolContainer()

void ShapeAlgo_AlgoContainer::SetToolContainer ( const Handle< ShapeAlgo_ToolContainer > &  TC)

Sets ToolContainer.

◆ ToolContainer()

Handle< ShapeAlgo_ToolContainer > ShapeAlgo_AlgoContainer::ToolContainer ( ) const

Returns ToolContainer.


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