Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
GeomPlate_BuildAveragePlane Class Reference

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_PlanePlane () const
 Return the average Plane.
 
occ::handle< Geom_LineLine () 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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GeomPlate_BuildAveragePlane() [1/2]

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() [2/2]

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".

Member Function Documentation

◆ HalfSpace()

static bool GeomPlate_BuildAveragePlane::HalfSpace ( const NCollection_Sequence< gp_Vec > & NewNormals,
NCollection_Sequence< gp_Vec > & Normals,
NCollection_Sequence< GeomPlate_Aij > & Bset,
const double LinTol,
const double AngTol )
static

◆ IsLine()

bool GeomPlate_BuildAveragePlane::IsLine ( ) const

return OK if is a line.

◆ IsPlane()

bool GeomPlate_BuildAveragePlane::IsPlane ( ) const

return OK if is a plane.

◆ Line()

occ::handle< Geom_Line > GeomPlate_BuildAveragePlane::Line ( ) const

Return a Line when 2 eigenvalues are null.

◆ MinMaxBox()

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.

◆ Plane()

occ::handle< Geom_Plane > GeomPlate_BuildAveragePlane::Plane ( ) const

Return the average Plane.


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