Open CASCADE Technology  7.0.0
Public Member Functions | Protected Attributes
BRepFill_ShapeLaw Class Reference

Build Section Law, with an Vertex, or an Wire. More...

#include <BRepFill_ShapeLaw.hxx>

Inheritance diagram for BRepFill_ShapeLaw:
Inheritance graph
[legend]

Public Member Functions

 BRepFill_ShapeLaw (const TopoDS_Vertex &V, const Standard_Boolean Build=Standard_True)
 Construct an constant Law. More...
 
 BRepFill_ShapeLaw (const TopoDS_Wire &W, const Standard_Boolean Build=Standard_True)
 Construct an constant Law. More...
 
 BRepFill_ShapeLaw (const TopoDS_Wire &W, const Handle< Law_Function > &L, const Standard_Boolean Build=Standard_True)
 Construct an evolutive Law. More...
 
virtual Standard_Boolean IsVertex () const override
 Say if the input shape is a vertex. More...
 
virtual Standard_Boolean IsConstant () const override
 Say if the Law is Constant. More...
 
virtual Handle< GeomFill_SectionLawConcatenedLaw () const override
 Give the law build on a concaneted section. More...
 
virtual GeomAbs_Shape Continuity (const Standard_Integer Index, const Standard_Real TolAngular) const override
 
virtual Standard_Real VertexTol (const Standard_Integer Index, const Standard_Real Param) const override
 
virtual TopoDS_Vertex Vertex (const Standard_Integer Index, const Standard_Real Param) const override
 
virtual void D0 (const Standard_Real Param, TopoDS_Shape &S) override
 
const TopoDS_EdgeEdge (const Standard_Integer Index) const
 
- Public Member Functions inherited from BRepFill_SectionLaw
Standard_Integer NbLaw () const
 
const Handle< GeomFill_SectionLaw > & Law (const Standard_Integer Index) const
 
Standard_Boolean IsUClosed () const
 
Standard_Boolean IsVClosed () const
 
void Init (const TopoDS_Wire &W)
 
TopoDS_Edge CurrentEdge ()
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const override
 Memory deallocator for transient classes. 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 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...
 

Protected Attributes

Standard_Boolean vertex
 
- Protected Attributes inherited from BRepFill_SectionLaw
Handle< GeomFill_HArray1OfSectionLaw > myLaws
 
Standard_Boolean uclosed
 
Standard_Boolean vclosed
 

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...
 

Detailed Description

Build Section Law, with an Vertex, or an Wire.

Constructor & Destructor Documentation

BRepFill_ShapeLaw::BRepFill_ShapeLaw ( const TopoDS_Vertex V,
const Standard_Boolean  Build = Standard_True 
)

Construct an constant Law.

BRepFill_ShapeLaw::BRepFill_ShapeLaw ( const TopoDS_Wire W,
const Standard_Boolean  Build = Standard_True 
)

Construct an constant Law.

BRepFill_ShapeLaw::BRepFill_ShapeLaw ( const TopoDS_Wire W,
const Handle< Law_Function > &  L,
const Standard_Boolean  Build = Standard_True 
)

Construct an evolutive Law.

Member Function Documentation

virtual Handle< GeomFill_SectionLaw > BRepFill_ShapeLaw::ConcatenedLaw ( ) const
overridevirtual

Give the law build on a concaneted section.

Implements BRepFill_SectionLaw.

virtual GeomAbs_Shape BRepFill_ShapeLaw::Continuity ( const Standard_Integer  Index,
const Standard_Real  TolAngular 
) const
overridevirtual

Implements BRepFill_SectionLaw.

virtual void BRepFill_ShapeLaw::D0 ( const Standard_Real  Param,
TopoDS_Shape S 
)
overridevirtual

Implements BRepFill_SectionLaw.

const TopoDS_Edge& BRepFill_ShapeLaw::Edge ( const Standard_Integer  Index) const
virtual Standard_Boolean BRepFill_ShapeLaw::IsConstant ( ) const
overridevirtual

Say if the Law is Constant.

Implements BRepFill_SectionLaw.

virtual Standard_Boolean BRepFill_ShapeLaw::IsVertex ( ) const
overridevirtual

Say if the input shape is a vertex.

Implements BRepFill_SectionLaw.

virtual TopoDS_Vertex BRepFill_ShapeLaw::Vertex ( const Standard_Integer  Index,
const Standard_Real  Param 
) const
overridevirtual

Implements BRepFill_SectionLaw.

virtual Standard_Real BRepFill_ShapeLaw::VertexTol ( const Standard_Integer  Index,
const Standard_Real  Param 
) const
overridevirtual

Implements BRepFill_SectionLaw.

Field Documentation

Standard_Boolean BRepFill_ShapeLaw::vertex
protected

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