Open CASCADE Technology  7.6.0
Public Member Functions

ChFiDS_FilSpine Class Reference

Provides data specific to the fillets - vector or rule of evolution (C2). More...

#include <ChFiDS_FilSpine.hxx>

Inheritance diagram for ChFiDS_FilSpine:
Inheritance graph
[legend]

Public Member Functions

 ChFiDS_FilSpine ()
 
 ChFiDS_FilSpine (const Standard_Real Tol)
 
virtual void Reset (const Standard_Boolean AllData=Standard_False) override
 
void SetRadius (const Standard_Real Radius, const TopoDS_Edge &E)
 initializes the constant vector on edge E. More...
 
void UnSetRadius (const TopoDS_Edge &E)
 resets the constant vector on edge E. More...
 
void SetRadius (const Standard_Real Radius, const TopoDS_Vertex &V)
 initializes the vector on Vertex V. More...
 
void UnSetRadius (const TopoDS_Vertex &V)
 resets the vector on Vertex V. More...
 
void SetRadius (const gp_XY &UandR, const Standard_Integer IinC)
 initializes the vector on the point of parameter W. More...
 
void SetRadius (const Standard_Real Radius)
 initializes the constant vector on all spine. More...
 
void SetRadius (const Handle< Law_Function > &C, const Standard_Integer IinC)
 initializes the rule of evolution on all spine. More...
 
Standard_Boolean IsConstant () const
 returns true if the radius is constant all along the spine. More...
 
Standard_Boolean IsConstant (const Standard_Integer IE) const
 returns true if the radius is constant all along the edge E. More...
 
Standard_Real Radius () const
 returns the radius if the fillet is constant all along the spine. More...
 
Standard_Real Radius (const Standard_Integer IE) const
 returns the radius if the fillet is constant all along the edge E. More...
 
Standard_Real Radius (const TopoDS_Edge &E) const
 returns the radius if the fillet is constant all along the edge E. More...
 
virtual void AppendElSpine (const Handle< ChFiDS_ElSpine > &Els) override
 
Handle< Law_CompositeLaw (const Handle< ChFiDS_ElSpine > &Els) const
 
Handle< Law_Function > & ChangeLaw (const TopoDS_Edge &E)
 returns the elementary law More...
 
Standard_Real MaxRadFromSeqAndLaws () const
 returns the maximum radius if the fillet is non-constant More...
 
- Public Member Functions inherited from ChFiDS_Spine
 ChFiDS_Spine ()
 
 ChFiDS_Spine (const Standard_Real Tol)
 
void SetEdges (const TopoDS_Edge &E)
 store edges composing the guideline More...
 
void SetOffsetEdges (const TopoDS_Edge &E)
 store offset edges composing the offset guideline More...
 
void PutInFirst (const TopoDS_Edge &E)
 store the edge at the first position before all others More...
 
void PutInFirstOffset (const TopoDS_Edge &E)
 store the offset edge at the first position before all others More...
 
Standard_Integer NbEdges () const
 
const TopoDS_EdgeEdges (const Standard_Integer I) const
 
const TopoDS_EdgeOffsetEdges (const Standard_Integer I) const
 
void SetFirstStatus (const ChFiDS_State S)
 stores if the start of a set of edges starts on a section of free border or forms a closed contour More...
 
void SetLastStatus (const ChFiDS_State S)
 stores if the end of a set of edges starts on a section of free border or forms a closed contour More...
 
virtual void AppendOffsetElSpine (const Handle< ChFiDS_ElSpine > &Els)
 
Handle< ChFiDS_ElSpineElSpine (const Standard_Integer IE) const
 
Handle< ChFiDS_ElSpineElSpine (const TopoDS_Edge &E) const
 
Handle< ChFiDS_ElSpineElSpine (const Standard_Real W) const
 
ChFiDS_ListOfHElSpineChangeElSpines ()
 
ChFiDS_ListOfHElSpineChangeOffsetElSpines ()
 
Standard_Boolean SplitDone () const
 
void SplitDone (const Standard_Boolean B)
 
void Load ()
 prepare the guideline depending on the edges that are elementary arks (take parameters from a single curvilinear abscissa); to be able to call methods on the geometry (first,last,value,d1,d2) it is necessary to start with preparation otherwise an exception will be raised More...
 
Standard_Real Resolution (const Standard_Real R3d) const
 
Standard_Boolean IsClosed () const
 
Standard_Real FirstParameter () const
 
Standard_Real LastParameter () const
 
void SetFirstParameter (const Standard_Real Par)
 
void SetLastParameter (const Standard_Real Par)
 
Standard_Real FirstParameter (const Standard_Integer IndexSpine) const
 gives the total length of all arcs before the number IndexSp More...
 
Standard_Real LastParameter (const Standard_Integer IndexSpine) const
 gives the total length till the ark with number IndexSpine (inclus) More...
 
Standard_Real Length (const Standard_Integer IndexSpine) const
 gives the length of ark with number IndexSp More...
 
Standard_Boolean IsPeriodic () const
 
Standard_Real Period () const
 
Standard_Real Absc (const Standard_Real U)
 
Standard_Real Absc (const Standard_Real U, const Standard_Integer I)
 
void Parameter (const Standard_Real AbsC, Standard_Real &U, const Standard_Boolean Oriented=Standard_True)
 
void Parameter (const Standard_Integer Index, const Standard_Real AbsC, Standard_Real &U, const Standard_Boolean Oriented=Standard_True)
 
gp_Pnt Value (const Standard_Real AbsC)
 
void D0 (const Standard_Real AbsC, gp_Pnt &P)
 
void D1 (const Standard_Real AbsC, gp_Pnt &P, gp_Vec &V1)
 
void D2 (const Standard_Real AbsC, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2)
 
void SetCurrent (const Standard_Integer Index)
 
const BRepAdaptor_CurveCurrentElementarySpine (const Standard_Integer Index)
 sets the current curve and returns it More...
 
Standard_Integer CurrentIndexOfElementarySpine () const
 
GeomAbs_CurveType GetType () const
 
gp_Lin Line () const
 
gp_Circ Circle () const
 
ChFiDS_State FirstStatus () const
 returns if the set of edges starts on a free boundary or if the first vertex is a breakpoint or if the set is closed More...
 
ChFiDS_State LastStatus () const
 returns the state at the end of the set More...
 
ChFiDS_State Status (const Standard_Boolean IsFirst) const
 
ChFiDS_TypeOfConcavity GetTypeOfConcavity () const
 returns the type of concavity in the connection More...
 
void SetStatus (const ChFiDS_State S, const Standard_Boolean IsFirst)
 
void SetTypeOfConcavity (const ChFiDS_TypeOfConcavity theType)
 sets the type of concavity in the connection More...
 
Standard_Boolean IsTangencyExtremity (const Standard_Boolean IsFirst) const
 returns if the set of edges starts (or end) on Tangency point. More...
 
void SetTangencyExtremity (const Standard_Boolean IsTangency, const Standard_Boolean IsFirst)
 
Standard_Real Absc (const TopoDS_Vertex &V) const
 
TopoDS_Vertex FirstVertex () const
 
TopoDS_Vertex LastVertex () const
 
void SetFirstTgt (const Standard_Real W)
 
void SetLastTgt (const Standard_Real W)
 
Standard_Boolean HasFirstTgt () const
 
Standard_Boolean HasLastTgt () const
 
void SetReference (const Standard_Real W)
 set a parameter reference for the approx. More...
 
void SetReference (const Standard_Integer I)
 set a parameter reference for the approx, at the middle of edge I. More...
 
Standard_Integer Index (const Standard_Real W, const Standard_Boolean Forward=Standard_True) const
 
Standard_Integer Index (const TopoDS_Edge &E) const
 
void UnsetReference ()
 
void SetErrorStatus (const ChFiDS_ErrorStatus state)
 
ChFiDS_ErrorStatus ErrorStatus () const
 
ChFiDS_ChamfMode Mode () const
 Return the mode of chamfers used. 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...
 
- Protected Attributes inherited from ChFiDS_Spine
Standard_Boolean splitdone
 
ChFiDS_ListOfHElSpine elspines
 
ChFiDS_ListOfHElSpine offset_elspines
 
ChFiDS_ChamfMode myMode
 

Detailed Description

Provides data specific to the fillets - vector or rule of evolution (C2).

Constructor & Destructor Documentation

◆ ChFiDS_FilSpine() [1/2]

ChFiDS_FilSpine::ChFiDS_FilSpine ( )

◆ ChFiDS_FilSpine() [2/2]

ChFiDS_FilSpine::ChFiDS_FilSpine ( const Standard_Real  Tol)

Member Function Documentation

◆ AppendElSpine()

virtual void ChFiDS_FilSpine::AppendElSpine ( const Handle< ChFiDS_ElSpine > &  Els)
overridevirtual

Reimplemented from ChFiDS_Spine.

◆ ChangeLaw()

Handle< Law_Function >& ChFiDS_FilSpine::ChangeLaw ( const TopoDS_Edge E)

returns the elementary law

◆ IsConstant() [1/2]

Standard_Boolean ChFiDS_FilSpine::IsConstant ( ) const

returns true if the radius is constant all along the spine.

◆ IsConstant() [2/2]

Standard_Boolean ChFiDS_FilSpine::IsConstant ( const Standard_Integer  IE) const

returns true if the radius is constant all along the edge E.

◆ Law()

Handle< Law_Composite > ChFiDS_FilSpine::Law ( const Handle< ChFiDS_ElSpine > &  Els) const

◆ MaxRadFromSeqAndLaws()

Standard_Real ChFiDS_FilSpine::MaxRadFromSeqAndLaws ( ) const

returns the maximum radius if the fillet is non-constant

◆ Radius() [1/3]

Standard_Real ChFiDS_FilSpine::Radius ( ) const

returns the radius if the fillet is constant all along the spine.

◆ Radius() [2/3]

Standard_Real ChFiDS_FilSpine::Radius ( const Standard_Integer  IE) const

returns the radius if the fillet is constant all along the edge E.

◆ Radius() [3/3]

Standard_Real ChFiDS_FilSpine::Radius ( const TopoDS_Edge E) const

returns the radius if the fillet is constant all along the edge E.

◆ Reset()

virtual void ChFiDS_FilSpine::Reset ( const Standard_Boolean  AllData = Standard_False)
overridevirtual

Reimplemented from ChFiDS_Spine.

◆ SetRadius() [1/5]

void ChFiDS_FilSpine::SetRadius ( const gp_XY UandR,
const Standard_Integer  IinC 
)

initializes the vector on the point of parameter W.

◆ SetRadius() [2/5]

void ChFiDS_FilSpine::SetRadius ( const Handle< Law_Function > &  C,
const Standard_Integer  IinC 
)

initializes the rule of evolution on all spine.

◆ SetRadius() [3/5]

void ChFiDS_FilSpine::SetRadius ( const Standard_Real  Radius)

initializes the constant vector on all spine.

◆ SetRadius() [4/5]

void ChFiDS_FilSpine::SetRadius ( const Standard_Real  Radius,
const TopoDS_Edge E 
)

initializes the constant vector on edge E.

◆ SetRadius() [5/5]

void ChFiDS_FilSpine::SetRadius ( const Standard_Real  Radius,
const TopoDS_Vertex V 
)

initializes the vector on Vertex V.

◆ UnSetRadius() [1/2]

void ChFiDS_FilSpine::UnSetRadius ( const TopoDS_Edge E)

resets the constant vector on edge E.

◆ UnSetRadius() [2/2]

void ChFiDS_FilSpine::UnSetRadius ( const TopoDS_Vertex V)

resets the vector on Vertex V.


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