![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
This class computes an average inertial plane with an array of points. Computes the initial surface (average plane) in the cases when the initial surface is not given. More...
#include <GeomPlate_BuildAveragePlane.hxx>
Public Member Functions | |
| GeomPlate_BuildAveragePlane (const occ::handle< NCollection_HArray1< gp_Pnt > > &Pts, const int NbBoundPoints, const double Tol, const int POption, const int NOption) | |
| Tol is a Tolerance to make the difference between the result plane and the result line. if POption = 1 : automatic parametrisation if POption = 2 : parametrisation by eigen vectors if NOption = 1 : the average plane is the inertial plane. if NOption = 2 : the average plane is the plane of max. flux. | |
| GeomPlate_BuildAveragePlane (const NCollection_Sequence< gp_Vec > &Normals, const occ::handle< NCollection_HArray1< gp_Pnt > > &Pts) | |
| Creates the plane from the "best vector". | |
| occ::handle< Geom_Plane > | Plane () const |
| Return the average Plane. | |
| occ::handle< Geom_Line > | Line () const |
| Return a Line when 2 eigenvalues are null. | |
| bool | IsPlane () const |
| return OK if is a plane. | |
| bool | IsLine () const |
| return OK if is a line. | |
| void | MinMaxBox (double &Umin, double &Umax, double &Vmin, double &Vmax) const |
| computes the minimal box to include all normal projection points of the initial array on the plane. | |
Static Public Member Functions | |
| static bool | HalfSpace (const NCollection_Sequence< gp_Vec > &NewNormals, NCollection_Sequence< gp_Vec > &Normals, NCollection_Sequence< GeomPlate_Aij > &Bset, const double LinTol, const double AngTol) |
This class computes an average inertial plane with an array of points. Computes the initial surface (average plane) in the cases when the initial surface is not given.
| GeomPlate_BuildAveragePlane::GeomPlate_BuildAveragePlane | ( | const occ::handle< NCollection_HArray1< gp_Pnt > > & | Pts, |
| const int | NbBoundPoints, | ||
| const double | Tol, | ||
| const int | POption, | ||
| const int | NOption ) |
Tol is a Tolerance to make the difference between the result plane and the result line. if POption = 1 : automatic parametrisation if POption = 2 : parametrisation by eigen vectors if NOption = 1 : the average plane is the inertial plane. if NOption = 2 : the average plane is the plane of max. flux.
| GeomPlate_BuildAveragePlane::GeomPlate_BuildAveragePlane | ( | const NCollection_Sequence< gp_Vec > & | Normals, |
| const occ::handle< NCollection_HArray1< gp_Pnt > > & | Pts ) |
Creates the plane from the "best vector".
|
static |
| bool GeomPlate_BuildAveragePlane::IsLine | ( | ) | const |
return OK if is a line.
| bool GeomPlate_BuildAveragePlane::IsPlane | ( | ) | const |
return OK if is a plane.
| occ::handle< Geom_Line > GeomPlate_BuildAveragePlane::Line | ( | ) | const |
Return a Line when 2 eigenvalues are null.
| void GeomPlate_BuildAveragePlane::MinMaxBox | ( | double & | Umin, |
| double & | Umax, | ||
| double & | Vmin, | ||
| double & | Vmax ) const |
computes the minimal box to include all normal projection points of the initial array on the plane.
| occ::handle< Geom_Plane > GeomPlate_BuildAveragePlane::Plane | ( | ) | const |
Return the average Plane.