Open CASCADE Technology 6.6.0
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.

#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:

gp_Pnt Value (const Standard_Real U) const
void D1 (const Standard_Real U, gp_Pnt &P, gp_Vec &V) const
virtual Standard_Boolean HasNormals () const
virtual gp_Vec Norm (const Standard_Real U) const
virtual void D1Norm (const Standard_Real U, gp_Vec &N, gp_Vec &DN) const
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)
void Bounds (Standard_Real &First, Standard_Real &Last) const
Standard_Boolean IsDegenerated () const

Constructor & Destructor Documentation

GeomFill_BoundWithSurf::GeomFill_BoundWithSurf ( const Adaptor3d_CurveOnSurface CurveOnSurf,
const Standard_Real  Tol3d,
const Standard_Real  Tolang 
)
  • the services provided by a curve lying on a surface from the package Geom
  • and those required of the curve by the computation algorithm which uses it.
    The adapted curve is created in the following way:
    Handle(Geom_Surface) mySurface = ... ;
    Handle(Geom2d_Curve) myParamCurve = ... ;
    // where myParamCurve is a 2D curve in the parametric space of the surface mySurface
    Handle(GeomAdaptor_HSurface)
    Surface = new
    GeomAdaptor_HSurface(mySurface);
    Handle(Geom2dAdaptor_HCurve)
    ParamCurve = new
    Geom2dAdaptor_HCurve(myParamCurve);
    CurveOnSurf = Adaptor3d_CurveOnSurface(ParamCurve,Surface);
    The boundary is then constructed with the CurveOnSurf object:
    Standard_Real Tol = ... ;
    Standard_Real TolAng = ... ;
    myBoundary = GeomFill_BoundWithSurf (
    CurveOnSurf, Tol, TolAng );

Member Function Documentation

void GeomFill_BoundWithSurf::Bounds ( Standard_Real First,
Standard_Real Last 
) const [virtual]

Implements GeomFill_Boundary.

void GeomFill_BoundWithSurf::D1 ( const Standard_Real  U,
gp_Pnt P,
gp_Vec V 
) const [virtual]

Implements GeomFill_Boundary.

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

Reimplemented from GeomFill_Boundary.

virtual Standard_Boolean GeomFill_BoundWithSurf::HasNormals ( ) const [virtual]

Reimplemented from GeomFill_Boundary.

Standard_Boolean GeomFill_BoundWithSurf::IsDegenerated ( ) const [virtual]

Implements GeomFill_Boundary.

virtual gp_Vec GeomFill_BoundWithSurf::Norm ( const Standard_Real  U) const [virtual]

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 
) [virtual]

Implements GeomFill_Boundary.

gp_Pnt GeomFill_BoundWithSurf::Value ( const Standard_Real  U) const [virtual]

Implements GeomFill_Boundary.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines