Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepFill_MultiLine Class Reference

Class used to compute the 3d curve and the two 2d curves resulting from the intersection of a surface of linear extrusion( Bissec, Dz) and the 2 faces. These 3 curves will have the same parametrization as the Bissectrice. This class is to be sent to an approximation routine. More...

#include <BRepFill_MultiLine.hxx>

Inheritance diagram for BRepFill_MultiLine:
Inheritance graph
[legend]

Public Member Functions

 BRepFill_MultiLine ()
 
 BRepFill_MultiLine (const TopoDS_Face &Face1, const TopoDS_Face &Face2, const TopoDS_Edge &Edge1, const TopoDS_Edge &Edge2, const bool Inv1, const bool Inv2, const occ::handle< Geom2d_Curve > &Bissec)
 
bool IsParticularCase () const
 Search if the Projection of the Bissectrice on the faces needs an approximation or not. Returns true if the approximation is not needed.
 
GeomAbs_Shape Continuity () const
 Returns the continuity between the two faces seShape from GeomAbsparated by myBis.
 
void Curves (occ::handle< Geom_Curve > &Curve, occ::handle< Geom2d_Curve > &PCurve1, occ::handle< Geom2d_Curve > &PCurve2) const
 raises if IsParticularCase is <False>.
 
double FirstParameter () const override
 returns the first parameter of the Bissectrice.
 
double LastParameter () const override
 returns the last parameter of the Bissectrice.
 
gp_Pnt Value (const double U) const
 Returns the current point on the 3d curve.
 
gp_Pnt2d ValueOnF1 (const double U) const
 returns the current point on the PCurve of the first face
 
gp_Pnt2d ValueOnF2 (const double U) const
 returns the current point on the PCurve of the first face
 
void Value3dOnF1OnF2 (const double U, gp_Pnt &P3d, gp_Pnt2d &PF1, gp_Pnt2d &PF2) const
 
bool Value (const double theU, NCollection_Array1< gp_Pnt2d > &thePnt2d, NCollection_Array1< gp_Pnt > &thePnt) const override
 Returns the point at parameter <theU>.
 
bool D1 (const double theU, NCollection_Array1< gp_Vec2d > &theVec2d, NCollection_Array1< gp_Vec > &theVec) const override
 Returns the derivative at parameter <theU>.
 
- Public Member Functions inherited from AppCont_Function
 AppCont_Function ()
 
void GetNumberOfPoints (int &theNbPnt, int &theNbPnt2d) const
 Get number of 3d and 2d points returned by "Value" and "D1" functions.
 
int GetNbOf3dPoints () const
 Get number of 3d points returned by "Value" and "D1" functions.
 
int GetNbOf2dPoints () const
 Get number of 2d points returned by "Value" and "D1" functions.
 
virtual ~AppCont_Function ()=default
 Destructor.
 
virtual void PeriodInformation (const int, bool &IsPeriodic, double &thePeriod) const
 Return information about peridicity in output paramateters space.
 

Additional Inherited Members

- Protected Attributes inherited from AppCont_Function
int myNbPnt
 
int myNbPnt2d
 

Detailed Description

Class used to compute the 3d curve and the two 2d curves resulting from the intersection of a surface of linear extrusion( Bissec, Dz) and the 2 faces. These 3 curves will have the same parametrization as the Bissectrice. This class is to be sent to an approximation routine.

Constructor & Destructor Documentation

◆ BRepFill_MultiLine() [1/2]

BRepFill_MultiLine::BRepFill_MultiLine ( )

◆ BRepFill_MultiLine() [2/2]

BRepFill_MultiLine::BRepFill_MultiLine ( const TopoDS_Face & Face1,
const TopoDS_Face & Face2,
const TopoDS_Edge & Edge1,
const TopoDS_Edge & Edge2,
const bool Inv1,
const bool Inv2,
const occ::handle< Geom2d_Curve > & Bissec )

Member Function Documentation

◆ Continuity()

GeomAbs_Shape BRepFill_MultiLine::Continuity ( ) const

Returns the continuity between the two faces seShape from GeomAbsparated by myBis.

◆ Curves()

void BRepFill_MultiLine::Curves ( occ::handle< Geom_Curve > & Curve,
occ::handle< Geom2d_Curve > & PCurve1,
occ::handle< Geom2d_Curve > & PCurve2 ) const

raises if IsParticularCase is <False>.

◆ D1()

bool BRepFill_MultiLine::D1 ( const double theU,
NCollection_Array1< gp_Vec2d > & theVec2d,
NCollection_Array1< gp_Vec > & theVec ) const
overridevirtual

Returns the derivative at parameter <theU>.

Implements AppCont_Function.

◆ FirstParameter()

double BRepFill_MultiLine::FirstParameter ( ) const
overridevirtual

returns the first parameter of the Bissectrice.

Implements AppCont_Function.

◆ IsParticularCase()

bool BRepFill_MultiLine::IsParticularCase ( ) const

Search if the Projection of the Bissectrice on the faces needs an approximation or not. Returns true if the approximation is not needed.

◆ LastParameter()

double BRepFill_MultiLine::LastParameter ( ) const
overridevirtual

returns the last parameter of the Bissectrice.

Implements AppCont_Function.

◆ Value() [1/2]

bool BRepFill_MultiLine::Value ( const double theU,
NCollection_Array1< gp_Pnt2d > & thePnt2d,
NCollection_Array1< gp_Pnt > & thePnt ) const
overridevirtual

Returns the point at parameter <theU>.

Implements AppCont_Function.

◆ Value() [2/2]

gp_Pnt BRepFill_MultiLine::Value ( const double U) const

Returns the current point on the 3d curve.

◆ Value3dOnF1OnF2()

void BRepFill_MultiLine::Value3dOnF1OnF2 ( const double U,
gp_Pnt & P3d,
gp_Pnt2d & PF1,
gp_Pnt2d & PF2 ) const

◆ ValueOnF1()

gp_Pnt2d BRepFill_MultiLine::ValueOnF1 ( const double U) const

returns the current point on the PCurve of the first face

◆ ValueOnF2()

gp_Pnt2d BRepFill_MultiLine::ValueOnF2 ( const double U) const

returns the current point on the PCurve of the first face


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