Open CASCADE Technology 7.8.0
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. This 3 curves will have the same parametrization as the Bissectrice. This class is to be send 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 Standard_Boolean Inv1, const Standard_Boolean Inv2, const Handle< Geom2d_Curve > &Bissec)
 
Standard_Boolean 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 betwwen the two faces seShape from GeomAbsparated by myBis.
 
void Curves (Handle< Geom_Curve > &Curve, Handle< Geom2d_Curve > &PCurve1, Handle< Geom2d_Curve > &PCurve2) const
 raises if IsParticularCase is <False>.
 
virtual Standard_Real FirstParameter () const
 returns the first parameter of the Bissectrice.
 
virtual Standard_Real LastParameter () const
 returns the last parameter of the Bissectrice.
 
gp_Pnt Value (const Standard_Real U) const
 Returns the current point on the 3d curve.
 
gp_Pnt2d ValueOnF1 (const Standard_Real U) const
 returns the current point on the PCurve of the first face
 
gp_Pnt2d ValueOnF2 (const Standard_Real U) const
 returns the current point on the PCurve of the first face
 
void Value3dOnF1OnF2 (const Standard_Real U, gp_Pnt &P3d, gp_Pnt2d &PF1, gp_Pnt2d &PF2) const
 
virtual Standard_Boolean Value (const Standard_Real theU, NCollection_Array1< gp_Pnt2d > &thePnt2d, NCollection_Array1< gp_Pnt > &thePnt) const
 Returns the point at parameter <theU>.
 
virtual Standard_Boolean D1 (const Standard_Real theU, NCollection_Array1< gp_Vec2d > &theVec2d, NCollection_Array1< gp_Vec > &theVec) const
 Returns the derivative at parameter <theU>.
 
- Public Member Functions inherited from AppCont_Function
 AppCont_Function ()
 
void GetNumberOfPoints (Standard_Integer &theNbPnt, Standard_Integer &theNbPnt2d) const
 Get number of 3d and 2d points returned by "Value" and "D1" functions.
 
Standard_Integer GetNbOf3dPoints () const
 Get number of 3d points returned by "Value" and "D1" functions.
 
Standard_Integer GetNbOf2dPoints () const
 Get number of 2d points returned by "Value" and "D1" functions.
 
virtual ~AppCont_Function ()
 Destructor.
 
virtual void PeriodInformation (const Standard_Integer, Standard_Boolean &IsPeriodic, Standard_Real &thePeriod) const
 Return information about peridicity in output paramateters space.
 

Additional Inherited Members

- Protected Attributes inherited from AppCont_Function
Standard_Integer myNbPnt
 
Standard_Integer 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. This 3 curves will have the same parametrization as the Bissectrice. This class is to be send 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 Standard_Boolean  Inv1,
const Standard_Boolean  Inv2,
const Handle< Geom2d_Curve > &  Bissec 
)

Member Function Documentation

◆ Continuity()

GeomAbs_Shape BRepFill_MultiLine::Continuity ( ) const

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

◆ Curves()

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

raises if IsParticularCase is <False>.

◆ D1()

virtual Standard_Boolean BRepFill_MultiLine::D1 ( const Standard_Real  theU,
NCollection_Array1< gp_Vec2d > &  theVec2d,
NCollection_Array1< gp_Vec > &  theVec 
) const
virtual

Returns the derivative at parameter <theU>.

Implements AppCont_Function.

◆ FirstParameter()

virtual Standard_Real BRepFill_MultiLine::FirstParameter ( ) const
virtual

returns the first parameter of the Bissectrice.

Implements AppCont_Function.

◆ IsParticularCase()

Standard_Boolean 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()

virtual Standard_Real BRepFill_MultiLine::LastParameter ( ) const
virtual

returns the last parameter of the Bissectrice.

Implements AppCont_Function.

◆ Value() [1/2]

virtual Standard_Boolean BRepFill_MultiLine::Value ( const Standard_Real  theU,
NCollection_Array1< gp_Pnt2d > &  thePnt2d,
NCollection_Array1< gp_Pnt > &  thePnt 
) const
virtual

Returns the point at parameter <theU>.

Implements AppCont_Function.

◆ Value() [2/2]

gp_Pnt BRepFill_MultiLine::Value ( const Standard_Real  U) const

Returns the current point on the 3d curve.

◆ Value3dOnF1OnF2()

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

◆ ValueOnF1()

gp_Pnt2d BRepFill_MultiLine::ValueOnF1 ( const Standard_Real  U) const

returns the current point on the PCurve of the first face

◆ ValueOnF2()

gp_Pnt2d BRepFill_MultiLine::ValueOnF2 ( const Standard_Real  U) const

returns the current point on the PCurve of the first face


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