Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
LocOpe_WiresOnShape Class Reference

#include <LocOpe_WiresOnShape.hxx>

Inheritance diagram for LocOpe_WiresOnShape:
Inheritance graph
[legend]

Public Member Functions

 LocOpe_WiresOnShape (const TopoDS_Shape &S)
 
void Init (const TopoDS_Shape &S)
 
bool Add (const NCollection_Sequence< TopoDS_Shape > &theEdges)
 Add splitting edges or wires for whole initial shape without additional specification edge->face, edge->edge This method puts edge on the corresponding faces from initial shape.
 
void SetCheckInterior (const bool ToCheckInterior)
 Set the flag of check internal intersections default value is True (to check)
 
void Bind (const TopoDS_Wire &W, const TopoDS_Face &F)
 
void Bind (const TopoDS_Compound &Comp, const TopoDS_Face &F)
 
void Bind (const TopoDS_Edge &E, const TopoDS_Face &F)
 
void Bind (const TopoDS_Edge &EfromW, const TopoDS_Edge &EonFace)
 
void BindAll ()
 
bool IsDone () const
 
void InitEdgeIterator ()
 
bool MoreEdge ()
 
TopoDS_Edge Edge ()
 
TopoDS_Face OnFace ()
 Returns the face of the shape on which the current edge is projected.
 
bool OnEdge (TopoDS_Edge &E)
 If the current edge is projected on an edge, returns <true> and sets the value of <E>. Otherwise, returns <false>.
 
void NextEdge ()
 
bool OnVertex (const TopoDS_Vertex &Vwire, TopoDS_Vertex &Vshape)
 
bool OnEdge (const TopoDS_Vertex &V, TopoDS_Edge &E, double &P)
 If the vertex <V> lies on an edge of the original shape, returns <true> and sets the concerned edge in <E>, and the parameter on the edge in.
 
bool OnEdge (const TopoDS_Vertex &V, const TopoDS_Edge &EdgeFrom, TopoDS_Edge &E, double &P)
 If the vertex <V> lies on an edge of the original shape, returns <true> and sets the concerned edge in <E>, and the parameter on the edge in.
 
bool IsFaceWithSection (const TopoDS_Shape &aFace) const
 tells is the face to be split by section or not
 
- 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

◆ LocOpe_WiresOnShape()

LocOpe_WiresOnShape::LocOpe_WiresOnShape ( const TopoDS_Shape & S)

Member Function Documentation

◆ Add()

bool LocOpe_WiresOnShape::Add ( const NCollection_Sequence< TopoDS_Shape > & theEdges)

Add splitting edges or wires for whole initial shape without additional specification edge->face, edge->edge This method puts edge on the corresponding faces from initial shape.

◆ Bind() [1/4]

void LocOpe_WiresOnShape::Bind ( const TopoDS_Compound & Comp,
const TopoDS_Face & F )

◆ Bind() [2/4]

void LocOpe_WiresOnShape::Bind ( const TopoDS_Edge & E,
const TopoDS_Face & F )

◆ Bind() [3/4]

void LocOpe_WiresOnShape::Bind ( const TopoDS_Edge & EfromW,
const TopoDS_Edge & EonFace )

◆ Bind() [4/4]

void LocOpe_WiresOnShape::Bind ( const TopoDS_Wire & W,
const TopoDS_Face & F )

◆ BindAll()

void LocOpe_WiresOnShape::BindAll ( )

◆ Edge()

TopoDS_Edge LocOpe_WiresOnShape::Edge ( )

◆ Init()

void LocOpe_WiresOnShape::Init ( const TopoDS_Shape & S)

◆ InitEdgeIterator()

void LocOpe_WiresOnShape::InitEdgeIterator ( )

◆ IsDone()

bool LocOpe_WiresOnShape::IsDone ( ) const

◆ IsFaceWithSection()

bool LocOpe_WiresOnShape::IsFaceWithSection ( const TopoDS_Shape & aFace) const

tells is the face to be split by section or not

◆ MoreEdge()

bool LocOpe_WiresOnShape::MoreEdge ( )

◆ NextEdge()

void LocOpe_WiresOnShape::NextEdge ( )

◆ OnEdge() [1/3]

bool LocOpe_WiresOnShape::OnEdge ( const TopoDS_Vertex & V,
const TopoDS_Edge & EdgeFrom,
TopoDS_Edge & E,
double & P )

If the vertex <V> lies on an edge of the original shape, returns <true> and sets the concerned edge in <E>, and the parameter on the edge in.

. Else returns <false>.

◆ OnEdge() [2/3]

bool LocOpe_WiresOnShape::OnEdge ( const TopoDS_Vertex & V,
TopoDS_Edge & E,
double & P )

If the vertex <V> lies on an edge of the original shape, returns <true> and sets the concerned edge in <E>, and the parameter on the edge in.

. Else returns <false>.

◆ OnEdge() [3/3]

bool LocOpe_WiresOnShape::OnEdge ( TopoDS_Edge & E)

If the current edge is projected on an edge, returns <true> and sets the value of <E>. Otherwise, returns <false>.

◆ OnFace()

TopoDS_Face LocOpe_WiresOnShape::OnFace ( )

Returns the face of the shape on which the current edge is projected.

◆ OnVertex()

bool LocOpe_WiresOnShape::OnVertex ( const TopoDS_Vertex & Vwire,
TopoDS_Vertex & Vshape )

◆ SetCheckInterior()

void LocOpe_WiresOnShape::SetCheckInterior ( const bool ToCheckInterior)

Set the flag of check internal intersections default value is True (to check)


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