Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 
void SetToolContainer (const occ::handle< ShapeAlgo_ToolContainer > &TC)
 Sets ToolContainer.
 
occ::handle< ShapeAlgo_ToolContainerToolContainer () const
 Returns ToolContainer.
 
virtual bool ConnectNextWire (const occ::handle< ShapeAnalysis_Wire > &saw, const occ::handle< ShapeExtend_WireData > &nextsewd, const double maxtol, double &distmin, bool &revsewd, bool &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.
 
virtual void ApproxBSplineCurve (const occ::handle< Geom_BSplineCurve > &bspline, NCollection_Sequence< occ::handle< Geom_Curve > > &seq) const
 
virtual void ApproxBSplineCurve (const occ::handle< Geom2d_BSplineCurve > &bspline, NCollection_Sequence< occ::handle< Geom2d_Curve > > &seq) const
 
virtual bool C0BSplineToSequenceOfC1BSplineCurve (const occ::handle< Geom_BSplineCurve > &BS, occ::handle< NCollection_HSequence< occ::handle< Geom_BoundedCurve > > > &seqBS) const
 
virtual bool C0BSplineToSequenceOfC1BSplineCurve (const occ::handle< Geom2d_BSplineCurve > &BS, occ::handle< NCollection_HSequence< occ::handle< Geom2d_BoundedCurve > > > &seqBS) const
 Converts C0 B-Spline curve into sequence of C1 B-Spline curves. Calls ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve.
 
virtual TopoDS_Shape C0ShapeToC1Shape (const TopoDS_Shape &shape, const double tol) const
 Converts a shape on C0 geometry into the shape on C1 geometry.
 
virtual occ::handle< Geom_BSplineSurfaceConvertSurfaceToBSpline (const occ::handle< Geom_Surface > &surf, const double UF, const double UL, const double VF, const double VL) const
 Converts a surface to B-Spline. Uses ShapeConstruct.
 
virtual bool HomoWires (const TopoDS_Wire &wireIn1, const TopoDS_Wire &wireIn2, TopoDS_Wire &wireOut1, TopoDS_Wire &wireOut2, const bool 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.
 
virtual TopoDS_Wire OuterWire (const TopoDS_Face &face) const
 Returns the outer wire on the face <Face>.
 
virtual occ::handle< Geom_SurfaceConvertToPeriodic (const occ::handle< Geom_Surface > &surf) const
 Converts surface to periodic form. Calls ShapeCustom_Surface.
 
virtual void GetFaceUVBounds (const TopoDS_Face &F, double &Umin, double &Umax, double &Vmin, double &Vmax) const
 Computes exact UV bounds of all wires on the face.
 
virtual occ::handle< Geom_BSplineCurveConvertCurveToBSpline (const occ::handle< Geom_Curve > &C3D, const double First, const double Last, const double Tol3d, const GeomAbs_Shape Continuity, const int MaxSegments, const int MaxDegree) const
 Convert Geom_Curve to Geom_BSplineCurve.
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()=default
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
bool IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
bool IsInstance (const char *const theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
bool 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.
 
bool IsKind (const char *const 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_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.
 
int GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
 
int DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ShapeAlgo_AlgoContainer()

ShapeAlgo_AlgoContainer::ShapeAlgo_AlgoContainer ( )

Empty constructor.

Member Function Documentation

◆ ApproxBSplineCurve() [1/2]

virtual void ShapeAlgo_AlgoContainer::ApproxBSplineCurve ( const occ::handle< Geom2d_BSplineCurve > & bspline,
NCollection_Sequence< occ::handle< Geom2d_Curve > > & seq ) const
virtual

◆ ApproxBSplineCurve() [2/2]

virtual void ShapeAlgo_AlgoContainer::ApproxBSplineCurve ( const occ::handle< Geom_BSplineCurve > & bspline,
NCollection_Sequence< occ::handle< Geom_Curve > > & seq ) const
virtual

◆ C0BSplineToSequenceOfC1BSplineCurve() [1/2]

virtual bool ShapeAlgo_AlgoContainer::C0BSplineToSequenceOfC1BSplineCurve ( const occ::handle< Geom2d_BSplineCurve > & BS,
occ::handle< NCollection_HSequence< occ::handle< Geom2d_BoundedCurve > > > & seqBS ) const
virtual

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

◆ C0BSplineToSequenceOfC1BSplineCurve() [2/2]

virtual bool ShapeAlgo_AlgoContainer::C0BSplineToSequenceOfC1BSplineCurve ( const occ::handle< Geom_BSplineCurve > & BS,
occ::handle< NCollection_HSequence< occ::handle< Geom_BoundedCurve > > > & seqBS ) const
virtual

◆ C0ShapeToC1Shape()

virtual TopoDS_Shape ShapeAlgo_AlgoContainer::C0ShapeToC1Shape ( const TopoDS_Shape & shape,
const double tol ) const
virtual

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

◆ ConnectNextWire()

virtual bool ShapeAlgo_AlgoContainer::ConnectNextWire ( const occ::handle< ShapeAnalysis_Wire > & saw,
const occ::handle< ShapeExtend_WireData > & nextsewd,
const double maxtol,
double & distmin,
bool & revsewd,
bool & 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 occ::handle< Geom_BSplineCurve > ShapeAlgo_AlgoContainer::ConvertCurveToBSpline ( const occ::handle< Geom_Curve > & C3D,
const double First,
const double Last,
const double Tol3d,
const GeomAbs_Shape Continuity,
const int MaxSegments,
const int MaxDegree ) const
virtual

◆ ConvertSurfaceToBSpline()

virtual occ::handle< Geom_BSplineSurface > ShapeAlgo_AlgoContainer::ConvertSurfaceToBSpline ( const occ::handle< Geom_Surface > & surf,
const double UF,
const double UL,
const double VF,
const double VL ) const
virtual

Converts a surface to B-Spline. Uses ShapeConstruct.

◆ ConvertToPeriodic()

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

Converts surface to periodic form. Calls ShapeCustom_Surface.

◆ GetFaceUVBounds()

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

Computes exact UV bounds of all wires on the face.

◆ HomoWires()

virtual bool ShapeAlgo_AlgoContainer::HomoWires ( const TopoDS_Wire & wireIn1,
const TopoDS_Wire & wireIn2,
TopoDS_Wire & wireOut1,
TopoDS_Wire & wireOut2,
const bool 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 occ::handle< ShapeAlgo_ToolContainer > & TC)

Sets ToolContainer.

◆ ToolContainer()

occ::handle< ShapeAlgo_ToolContainer > ShapeAlgo_AlgoContainer::ToolContainer ( ) const

Returns ToolContainer.


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