Open CASCADE Technology  6.9.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
 Say if the input shape is a vertex. More...
 
virtual Standard_Boolean IsConstant () const
 Say if the Law is Constant. More...
 
virtual Handle
< GeomFill_SectionLaw
ConcatenedLaw () const
 Give the law build on a concaneted section. More...
 
virtual GeomAbs_Shape Continuity (const Standard_Integer Index, const Standard_Real TolAngular) const
 
virtual Standard_Real VertexTol (const Standard_Integer Index, const Standard_Real Param) const
 
virtual TopoDS_Vertex Vertex (const Standard_Integer Index, const Standard_Real Param) const
 
virtual void D0 (const Standard_Real Param, TopoDS_Shape &S)
 
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
 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
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const 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 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...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Protected Attributes

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

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
virtual

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
virtual

Implements BRepFill_SectionLaw.

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

Implements BRepFill_SectionLaw.

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

Say if the Law is Constant.

Implements BRepFill_SectionLaw.

virtual Standard_Boolean BRepFill_ShapeLaw::IsVertex ( ) const
virtual

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
virtual

Implements BRepFill_SectionLaw.

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

Implements BRepFill_SectionLaw.

Field Documentation

Standard_Boolean BRepFill_ShapeLaw::vertex
protected

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