Open CASCADE Technology 7.8.2.dev
LocOpe_WiresOnShape Class Reference

#include <LocOpe_WiresOnShape.hxx>

Inheritance diagram for LocOpe_WiresOnShape:

Public Member Functions

 LocOpe_WiresOnShape (const TopoDS_Shape &S)
 
void Init (const TopoDS_Shape &S)
 
Standard_Boolean Add (const TopTools_SequenceOfShape &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 Standard_Boolean 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 ()
 
Standard_Boolean IsDone () const
 
void InitEdgeIterator ()
 
Standard_Boolean MoreEdge ()
 
TopoDS_Edge Edge ()
 
TopoDS_Face OnFace ()
 Returns the face of the shape on which the current edge is projected.
 
Standard_Boolean OnEdge (TopoDS_Edge &E)
 If the current edge is projected on an edge, returns <Standard_True> and sets the value of <E>. Otherwise, returns <Standard_False>.
 
void NextEdge ()
 
Standard_Boolean OnVertex (const TopoDS_Vertex &Vwire, TopoDS_Vertex &Vshape)
 
Standard_Boolean OnEdge (const TopoDS_Vertex &V, TopoDS_Edge &E, Standard_Real &P)
 If the vertex <V> lies on an edge of the original shape, returns <Standard_True> and sets the concerned edge in <E>, and the parameter on the edge in.
 
Standard_Boolean OnEdge (const TopoDS_Vertex &V, const TopoDS_Edge &EdgeFrom, TopoDS_Edge &E, Standard_Real &P)
 If the vertex <V> lies on an edge of the original shape, returns <Standard_True> and sets the concerned edge in <E>, and the parameter on the edge in.
 
Standard_Boolean 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 ()
 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_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.
 
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.
 

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 char * get_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()

Standard_Boolean LocOpe_WiresOnShape::Add ( const TopTools_SequenceOfShape & 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()

Standard_Boolean LocOpe_WiresOnShape::IsDone ( ) const

◆ IsFaceWithSection()

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

tells is the face to be split by section or not

◆ MoreEdge()

Standard_Boolean LocOpe_WiresOnShape::MoreEdge ( )

◆ NextEdge()

void LocOpe_WiresOnShape::NextEdge ( )

◆ OnEdge() [1/3]

Standard_Boolean LocOpe_WiresOnShape::OnEdge ( const TopoDS_Vertex & V,
const TopoDS_Edge & EdgeFrom,
TopoDS_Edge & E,
Standard_Real & P )

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

. Else returns <Standard_False>.

◆ OnEdge() [2/3]

Standard_Boolean LocOpe_WiresOnShape::OnEdge ( const TopoDS_Vertex & V,
TopoDS_Edge & E,
Standard_Real & P )

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

. Else returns <Standard_False>.

◆ OnEdge() [3/3]

Standard_Boolean LocOpe_WiresOnShape::OnEdge ( TopoDS_Edge & E)

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

◆ OnFace()

TopoDS_Face LocOpe_WiresOnShape::OnFace ( )

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

◆ OnVertex()

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

◆ SetCheckInterior()

void LocOpe_WiresOnShape::SetCheckInterior ( const Standard_Boolean 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: