![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <BRepGProp_Face.hxx>
Public Member Functions | |
| BRepGProp_Face (const bool IsUseSpan=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 (const TopoDS_Face &F, const bool IsUseSpan=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. | |
| void | Load (const TopoDS_Face &F) |
| int | VIntegrationOrder () const |
| bool | NaturalRestriction () const |
| Returns true if the face is not trimmed. | |
| const TopoDS_Face & | GetFace () const |
| Returns the TopoDS face. | |
| gp_Pnt2d | Value2d (const double U) const |
| Returns the value of the boundary curve of the face. | |
| int | SIntOrder (const double Eps) const |
| int | SVIntSubs () const |
| int | SUIntSubs () const |
| void | UKnots (NCollection_Array1< double > &Knots) const |
| void | VKnots (NCollection_Array1< double > &Knots) const |
| int | LIntOrder (const double Eps) const |
| int | LIntSubs () const |
| void | LKnots (NCollection_Array1< double > &Knots) const |
| int | UIntegrationOrder () const |
| Returns the number of points required to do the integration in the U parametric direction with a good accuracy. | |
| void | Bounds (double &U1, double &U2, double &V1, double &V2) const |
| Returns the parametric bounds of the Face. | |
| void | Normal (const double U, const double V, gp_Pnt &P, gp_Vec &VNor) const |
| Computes the point of parameter U, V on the Face | |
| bool | Load (const TopoDS_Edge &E) |
| Loading the boundary arc. Returns FALSE if edge has no P-Curve. | |
| double | FirstParameter () const |
| Returns the parametric value of the start point of the current arc of curve. | |
| double | LastParameter () const |
| Returns the parametric value of the end point of the current arc of curve. | |
| int | IntegrationOrder () const |
| Returns the number of points required to do the integration along the parameter of curve. | |
| void | D12d (const double 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. | |
| void | Load (const bool 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 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. | |
| occ::handle< NCollection_HArray1< double > > | GetUKnots (const double theUMin, const double theUMax) 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. | |
| void | GetUKnots (const double theUMin, const double theUMax, occ::handle< NCollection_HArray1< double > > &theUKnots) const |
| occ::handle< NCollection_HArray1< double > > | GetTKnots (const double theTMin, const double theTMax) 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. | |
| void | GetTKnots (const double theTMin, const double theTMax, occ::handle< NCollection_HArray1< double > > &theTKnots) const |
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::BRepGProp_Face | ( | const TopoDS_Face & | F, |
| const bool | IsUseSpan = 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.
Returns the parametric bounds of the Face.
Returns the point of parameter U and the first derivative at this point of a boundary curve.
| double BRepGProp_Face::FirstParameter | ( | ) | const |
Returns the parametric value of the start point of the current arc of curve.
| const TopoDS_Face & BRepGProp_Face::GetFace | ( | ) | const |
Returns the TopoDS face.
| occ::handle< NCollection_HArray1< double > > BRepGProp_Face::GetTKnots | ( | const double | theTMin, |
| const double | theTMax ) 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.
| [in] | theTMin | lower T bound |
| [in] | theTMax | upper T bound |
| void BRepGProp_Face::GetTKnots | ( | const double | theTMin, |
| const double | theTMax, | ||
| occ::handle< NCollection_HArray1< double > > & | theTKnots ) const |
Use GetTKnots() returning handle by value instead.
("Use GetTKnots() returning handle by value instead")
| occ::handle< NCollection_HArray1< double > > BRepGProp_Face::GetUKnots | ( | const double | theUMin, |
| const double | theUMax ) 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.
| [in] | theUMin | lower U bound |
| [in] | theUMax | upper U bound |
| void BRepGProp_Face::GetUKnots | ( | const double | theUMin, |
| const double | theUMax, | ||
| occ::handle< NCollection_HArray1< double > > & | theUKnots ) const |
Use GetUKnots() returning handle by value instead.
("Use GetUKnots() returning handle by value instead")
| int BRepGProp_Face::IntegrationOrder | ( | ) | const |
Returns the number of points required to do the integration along the parameter of curve.
| double BRepGProp_Face::LastParameter | ( | ) | const |
Returns the parametric value of the end point of the current arc of curve.
| int BRepGProp_Face::LIntSubs | ( | ) | const |
| void BRepGProp_Face::LKnots | ( | NCollection_Array1< double > & | Knots | ) | const |
| void BRepGProp_Face::Load | ( | const bool | 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 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.
| bool BRepGProp_Face::Load | ( | const TopoDS_Edge & | E | ) |
Loading the boundary arc. Returns FALSE if edge has no P-Curve.
| void BRepGProp_Face::Load | ( | const TopoDS_Face & | F | ) |
| bool BRepGProp_Face::NaturalRestriction | ( | ) | const |
Returns true if the face is not trimmed.
Computes the point of parameter U, V on the Face and the normal to the face at this point.
| int BRepGProp_Face::SUIntSubs | ( | ) | const |
| int BRepGProp_Face::SVIntSubs | ( | ) | const |
| int BRepGProp_Face::UIntegrationOrder | ( | ) | const |
Returns the number of points required to do the integration in the U parametric direction with a good accuracy.
| void BRepGProp_Face::UKnots | ( | NCollection_Array1< double > & | Knots | ) | const |
Returns the value of the boundary curve of the face.
| int BRepGProp_Face::VIntegrationOrder | ( | ) | const |
| void BRepGProp_Face::VKnots | ( | NCollection_Array1< double > & | Knots | ) | const |