Open CASCADE Technology  7.1.0.beta
Public Member Functions

GeomFill_BoundWithSurf Class Reference

Defines a 3d curve as a boundary for a GeomFill_ConstrainedFilling algorithm. This curve is attached to an existing surface. Defines a constrained boundary for filling the computations are done with a CurveOnSurf and a normals field defined by the normalized normal to the surface along the PCurve. Contains fields to allow a reparametrization of curve and normals field. More...

#include <GeomFill_BoundWithSurf.hxx>

Inheritance diagram for GeomFill_BoundWithSurf:
Inheritance graph
[legend]

Public Member Functions

 GeomFill_BoundWithSurf (const Adaptor3d_CurveOnSurface &CurveOnSurf, const Standard_Real Tol3d, const Standard_Real Tolang)
 Constructs a boundary object defined by the 3d curve CurveOnSurf. The surface to be filled along this boundary will be in the tolerance range defined by Tol3d. What's more, at each point of CurveOnSurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which CurveOnSurf lies, must not be greater than TolAng. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Warning CurveOnSurf is an adapted curve, that is, an object which is an interface between: More...
 
gp_Pnt Value (const Standard_Real U) const override
 
void D1 (const Standard_Real U, gp_Pnt &P, gp_Vec &V) const override
 
virtual Standard_Boolean HasNormals () const override
 
virtual gp_Vec Norm (const Standard_Real U) const override
 
virtual void D1Norm (const Standard_Real U, gp_Vec &N, gp_Vec &DN) const override
 
void Reparametrize (const Standard_Real First, const Standard_Real Last, const Standard_Boolean HasDF, const Standard_Boolean HasDL, const Standard_Real DF, const Standard_Real DL, const Standard_Boolean Rev) override
 
void Bounds (Standard_Real &First, Standard_Real &Last) const override
 
Standard_Boolean IsDegenerated () const override
 
- Public Member Functions inherited from GeomFill_Boundary
void Points (gp_Pnt &PFirst, gp_Pnt &PLast) const
 
Standard_Real Tol3d () const
 
void Tol3d (const Standard_Real Tol)
 
Standard_Real Tolang () const
 
void Tolang (const Standard_Real Tol)
 
- 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...
 

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 Member Functions inherited from GeomFill_Boundary
 GeomFill_Boundary (const Standard_Real Tol3d, const Standard_Real Tolang)
 

Detailed Description

Defines a 3d curve as a boundary for a GeomFill_ConstrainedFilling algorithm. This curve is attached to an existing surface. Defines a constrained boundary for filling the computations are done with a CurveOnSurf and a normals field defined by the normalized normal to the surface along the PCurve. Contains fields to allow a reparametrization of curve and normals field.

Constructor & Destructor Documentation

GeomFill_BoundWithSurf::GeomFill_BoundWithSurf ( const Adaptor3d_CurveOnSurface CurveOnSurf,
const Standard_Real  Tol3d,
const Standard_Real  Tolang 
)

Constructs a boundary object defined by the 3d curve CurveOnSurf. The surface to be filled along this boundary will be in the tolerance range defined by Tol3d. What's more, at each point of CurveOnSurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which CurveOnSurf lies, must not be greater than TolAng. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Warning CurveOnSurf is an adapted curve, that is, an object which is an interface between:

Member Function Documentation

void GeomFill_BoundWithSurf::Bounds ( Standard_Real First,
Standard_Real Last 
) const
overridevirtual

Implements GeomFill_Boundary.

void GeomFill_BoundWithSurf::D1 ( const Standard_Real  U,
gp_Pnt P,
gp_Vec V 
) const
overridevirtual

Implements GeomFill_Boundary.

virtual void GeomFill_BoundWithSurf::D1Norm ( const Standard_Real  U,
gp_Vec N,
gp_Vec DN 
) const
overridevirtual

Reimplemented from GeomFill_Boundary.

virtual Standard_Boolean GeomFill_BoundWithSurf::HasNormals ( ) const
overridevirtual

Reimplemented from GeomFill_Boundary.

Standard_Boolean GeomFill_BoundWithSurf::IsDegenerated ( ) const
overridevirtual

Implements GeomFill_Boundary.

virtual gp_Vec GeomFill_BoundWithSurf::Norm ( const Standard_Real  U) const
overridevirtual

Reimplemented from GeomFill_Boundary.

void GeomFill_BoundWithSurf::Reparametrize ( const Standard_Real  First,
const Standard_Real  Last,
const Standard_Boolean  HasDF,
const Standard_Boolean  HasDL,
const Standard_Real  DF,
const Standard_Real  DL,
const Standard_Boolean  Rev 
)
overridevirtual

Implements GeomFill_Boundary.

gp_Pnt GeomFill_BoundWithSurf::Value ( const Standard_Real  U) const
overridevirtual

Implements GeomFill_Boundary.


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