Open CASCADE Technology  7.6.0
Public Member Functions

BRepGProp_Face Class Reference

#include <BRepGProp_Face.hxx>

Public Member Functions

 BRepGProp_Face (const Standard_Boolean IsUseSpan=Standard_False)
 Constructor. Initializes the object with a flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots. More...
 
 BRepGProp_Face (const TopoDS_Face &F, const Standard_Boolean IsUseSpan=Standard_False)
 Constructor. Initializes the object with the face and the flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots. More...
 
void Load (const TopoDS_Face &F)
 
Standard_Integer VIntegrationOrder () const
 
Standard_Boolean NaturalRestriction () const
 Returns Standard_True if the face is not trimmed. More...
 
const TopoDS_FaceGetFace () const
 Returns the TopoDS face. More...
 
gp_Pnt2d Value2d (const Standard_Real U) const
 Returns the value of the boundary curve of the face. More...
 
Standard_Integer SIntOrder (const Standard_Real Eps) const
 
Standard_Integer SVIntSubs () const
 
Standard_Integer SUIntSubs () const
 
void UKnots (TColStd_Array1OfReal &Knots) const
 
void VKnots (TColStd_Array1OfReal &Knots) const
 
Standard_Integer LIntOrder (const Standard_Real Eps) const
 
Standard_Integer LIntSubs () const
 
void LKnots (TColStd_Array1OfReal &Knots) const
 
Standard_Integer UIntegrationOrder () const
 Returns the number of points required to do the integration in the U parametric direction with a good accuracy. More...
 
void Bounds (Standard_Real &U1, Standard_Real &U2, Standard_Real &V1, Standard_Real &V2) const
 Returns the parametric bounds of the Face. More...
 
void Normal (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &VNor) const
 Computes the point of parameter U, V on the Face and the normal to the face at this point. More...
 
bool Load (const TopoDS_Edge &E)
 Loading the boundary arc. Returns FALSE if edge has no P-Curve. More...
 
Standard_Real FirstParameter () const
 Returns the parametric value of the start point of the current arc of curve. More...
 
Standard_Real LastParameter () const
 Returns the parametric value of the end point of the current arc of curve. More...
 
Standard_Integer IntegrationOrder () const
 Returns the number of points required to do the integration along the parameter of curve. More...
 
void D12d (const Standard_Real U, gp_Pnt2d &P, gp_Vec2d &V1) const
 Returns the point of parameter U and the first derivative at this point of a boundary curve. More...
 
void Load (const Standard_Boolean IsFirstParam, const GeomAbs_IsoType theIsoType)
 Loading the boundary arc. This arc is either a top, bottom, left or right bound of a UV rectangle in which the parameters of surface are defined. If IsFirstParam is equal to Standard_True, the face is initialized by either left of bottom bound. Otherwise it is initialized by the top or right one. If theIsoType is equal to GeomAbs_IsoU, the face is initialized with either left or right bound. Otherwise - with either top or bottom one. More...
 
void GetUKnots (const Standard_Real theUMin, const Standard_Real theUMax, Handle< TColStd_HArray1OfReal > &theUKnots) const
 Returns an array of U knots of the face. The first and last elements of the array will be theUMin and theUMax. The middle elements will be the U Knots of the face greater then theUMin and lower then theUMax in increasing order. If the face is not a BSpline, the array initialized with theUMin and theUMax only. More...
 
void GetTKnots (const Standard_Real theTMin, const Standard_Real theTMax, Handle< TColStd_HArray1OfReal > &theTKnots) const
 Returns an array of combination of T knots of the arc and V knots of the face. The first and last elements of the array will be theTMin and theTMax. The middle elements will be the Knots of the arc and the values of parameters of arc on which the value points have V coordinates close to V knots of face. All the parameter will be greater then theTMin and lower then theTMax in increasing order. If the face is not a BSpline, the array initialized with theTMin and theTMax only. More...
 

Constructor & Destructor Documentation

◆ BRepGProp_Face() [1/2]

BRepGProp_Face::BRepGProp_Face ( const Standard_Boolean  IsUseSpan = Standard_False)

Constructor. Initializes the object with a flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots.

◆ BRepGProp_Face() [2/2]

BRepGProp_Face::BRepGProp_Face ( const TopoDS_Face F,
const Standard_Boolean  IsUseSpan = Standard_False 
)

Constructor. Initializes the object with the face and the flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots.

Member Function Documentation

◆ Bounds()

void BRepGProp_Face::Bounds ( Standard_Real U1,
Standard_Real U2,
Standard_Real V1,
Standard_Real V2 
) const

Returns the parametric bounds of the Face.

◆ D12d()

void BRepGProp_Face::D12d ( const Standard_Real  U,
gp_Pnt2d P,
gp_Vec2d V1 
) const

Returns the point of parameter U and the first derivative at this point of a boundary curve.

◆ FirstParameter()

Standard_Real BRepGProp_Face::FirstParameter ( ) const

Returns the parametric value of the start point of the current arc of curve.

◆ GetFace()

const TopoDS_Face& BRepGProp_Face::GetFace ( ) const

Returns the TopoDS face.

◆ GetTKnots()

void BRepGProp_Face::GetTKnots ( const Standard_Real  theTMin,
const Standard_Real  theTMax,
Handle< TColStd_HArray1OfReal > &  theTKnots 
) const

Returns an array of combination of T knots of the arc and V knots of the face. The first and last elements of the array will be theTMin and theTMax. The middle elements will be the Knots of the arc and the values of parameters of arc on which the value points have V coordinates close to V knots of face. All the parameter will be greater then theTMin and lower then theTMax in increasing order. If the face is not a BSpline, the array initialized with theTMin and theTMax only.

◆ GetUKnots()

void BRepGProp_Face::GetUKnots ( const Standard_Real  theUMin,
const Standard_Real  theUMax,
Handle< TColStd_HArray1OfReal > &  theUKnots 
) const

Returns an array of U knots of the face. The first and last elements of the array will be theUMin and theUMax. The middle elements will be the U Knots of the face greater then theUMin and lower then theUMax in increasing order. If the face is not a BSpline, the array initialized with theUMin and theUMax only.

◆ IntegrationOrder()

Standard_Integer BRepGProp_Face::IntegrationOrder ( ) const

Returns the number of points required to do the integration along the parameter of curve.

◆ LastParameter()

Standard_Real BRepGProp_Face::LastParameter ( ) const

Returns the parametric value of the end point of the current arc of curve.

◆ LIntOrder()

Standard_Integer BRepGProp_Face::LIntOrder ( const Standard_Real  Eps) const

◆ LIntSubs()

Standard_Integer BRepGProp_Face::LIntSubs ( ) const

◆ LKnots()

void BRepGProp_Face::LKnots ( TColStd_Array1OfReal Knots) const

◆ Load() [1/3]

void BRepGProp_Face::Load ( const Standard_Boolean  IsFirstParam,
const GeomAbs_IsoType  theIsoType 
)

Loading the boundary arc. This arc is either a top, bottom, left or right bound of a UV rectangle in which the parameters of surface are defined. If IsFirstParam is equal to Standard_True, the face is initialized by either left of bottom bound. Otherwise it is initialized by the top or right one. If theIsoType is equal to GeomAbs_IsoU, the face is initialized with either left or right bound. Otherwise - with either top or bottom one.

◆ Load() [2/3]

bool BRepGProp_Face::Load ( const TopoDS_Edge E)

Loading the boundary arc. Returns FALSE if edge has no P-Curve.

◆ Load() [3/3]

void BRepGProp_Face::Load ( const TopoDS_Face F)

◆ NaturalRestriction()

Standard_Boolean BRepGProp_Face::NaturalRestriction ( ) const

Returns Standard_True if the face is not trimmed.

◆ Normal()

void BRepGProp_Face::Normal ( const Standard_Real  U,
const Standard_Real  V,
gp_Pnt P,
gp_Vec VNor 
) const

Computes the point of parameter U, V on the Face and the normal to the face at this point.

◆ SIntOrder()

Standard_Integer BRepGProp_Face::SIntOrder ( const Standard_Real  Eps) const

◆ SUIntSubs()

Standard_Integer BRepGProp_Face::SUIntSubs ( ) const

◆ SVIntSubs()

Standard_Integer BRepGProp_Face::SVIntSubs ( ) const

◆ UIntegrationOrder()

Standard_Integer BRepGProp_Face::UIntegrationOrder ( ) const

Returns the number of points required to do the integration in the U parametric direction with a good accuracy.

◆ UKnots()

void BRepGProp_Face::UKnots ( TColStd_Array1OfReal Knots) const

◆ Value2d()

gp_Pnt2d BRepGProp_Face::Value2d ( const Standard_Real  U) const

Returns the value of the boundary curve of the face.

◆ VIntegrationOrder()

Standard_Integer BRepGProp_Face::VIntegrationOrder ( ) const

◆ VKnots()

void BRepGProp_Face::VKnots ( TColStd_Array1OfReal Knots) const

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