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

#include <IntCurveSurface_ThePolyhedronOfHInter.hxx>

Public Member Functions

 IntCurveSurface_ThePolyhedronOfHInter (const occ::handle< Adaptor3d_Surface > &Surface, const int nbdU, const int nbdV, const double U1, const double V1, const double U2, const double V2)
 
 IntCurveSurface_ThePolyhedronOfHInter (const occ::handle< Adaptor3d_Surface > &Surface, const NCollection_Array1< double > &Upars, const NCollection_Array1< double > &Vpars)
 
void Destroy ()
 
 ~IntCurveSurface_ThePolyhedronOfHInter ()
 
void DeflectionOverEstimation (const double flec)
 
void UMinSingularity (const bool Sing)
 
void UMaxSingularity (const bool Sing)
 
void VMinSingularity (const bool Sing)
 
void VMaxSingularity (const bool Sing)
 
void Size (int &nbdu, int &nbdv) const
 get the size of the discretization.
 
int NbTriangles () const
 Give the number of triangles in this double array of.
 
void Triangle (const int Index, int &P1, int &P2, int &P3) const
 Give the 3 points of the triangle of address Index in the double array of triangles.
 
int TriConnex (const int Triang, const int Pivot, const int Pedge, int &TriCon, int &OtherP) const
 Give the address Tricon of the triangle connexe to the triangle of address Triang by the edge Pivot Pedge and the third point of this connexe triangle. When we are on a free edge TriCon==0 but the function return the value of the triangle in the other side of Pivot on the free edge. Used to turn around a vertex.
 
int NbPoints () const
 Give the number of point in the double array of triangles ((nbdu+1)*(nbdv+1)).
 
void Point (const gp_Pnt &thePnt, const int lig, const int col, const double U, const double V)
 Set the value of a field of the double array of points.
 
const gp_PntPoint (const int Index, double &U, double &V) const
 Give the point of index i in the MaTriangle.
 
const gp_PntPoint (const int Index) const
 Give the point of index i in the MaTriangle.
 
void Point (const int Index, gp_Pnt &P) const
 Give the point of index i in the MaTriangle.
 
const Bnd_BoxBounding () const
 Give the bounding box of the MaTriangle.
 
void FillBounding ()
 Compute the array of boxes. The box <n> corresponding to the triangle <n>.
 
const occ::handle< NCollection_HArray1< Bnd_Box > > & ComponentsBounding () const
 Give the array of boxes. The box <n> corresponding to the triangle <n>.
 
double DeflectionOverEstimation () const
 
bool HasUMinSingularity () const
 
bool HasUMaxSingularity () const
 
bool HasVMinSingularity () const
 
bool HasVMaxSingularity () const
 
void PlaneEquation (const int Triang, gp_XYZ &NormalVector, double &PolarDistance) const
 Give the plane equation of the triangle of address Triang.
 
bool Contain (const int Triang, const gp_Pnt &ThePnt) const
 Give the plane equation of the triangle of address Triang.
 
void Parameters (const int Index, double &U, double &V) const
 
bool IsOnBound (const int Index1, const int Index2) const
 This method returns true if the edge based on points with indices Index1 and Index2 represents a boundary edge. It is necessary to take into account the boundary deflection for this edge.
 
double GetBorderDeflection () const
 This method returns a border deflection.
 
void Dump () const
 

Protected Member Functions

void Init (const occ::handle< Adaptor3d_Surface > &Surface, const double U1, const double V1, const double U2, const double V2)
 
void Init (const occ::handle< Adaptor3d_Surface > &Surface, const NCollection_Array1< double > &Upars, const NCollection_Array1< double > &Vpars)
 

Constructor & Destructor Documentation

◆ IntCurveSurface_ThePolyhedronOfHInter() [1/2]

IntCurveSurface_ThePolyhedronOfHInter::IntCurveSurface_ThePolyhedronOfHInter ( const occ::handle< Adaptor3d_Surface > & Surface,
const int nbdU,
const int nbdV,
const double U1,
const double V1,
const double U2,
const double V2 )

◆ IntCurveSurface_ThePolyhedronOfHInter() [2/2]

IntCurveSurface_ThePolyhedronOfHInter::IntCurveSurface_ThePolyhedronOfHInter ( const occ::handle< Adaptor3d_Surface > & Surface,
const NCollection_Array1< double > & Upars,
const NCollection_Array1< double > & Vpars )

◆ ~IntCurveSurface_ThePolyhedronOfHInter()

IntCurveSurface_ThePolyhedronOfHInter::~IntCurveSurface_ThePolyhedronOfHInter ( )
inline

Member Function Documentation

◆ Bounding()

const Bnd_Box & IntCurveSurface_ThePolyhedronOfHInter::Bounding ( ) const

Give the bounding box of the MaTriangle.

◆ ComponentsBounding()

const occ::handle< NCollection_HArray1< Bnd_Box > > & IntCurveSurface_ThePolyhedronOfHInter::ComponentsBounding ( ) const

Give the array of boxes. The box <n> corresponding to the triangle <n>.

◆ Contain()

bool IntCurveSurface_ThePolyhedronOfHInter::Contain ( const int Triang,
const gp_Pnt & ThePnt ) const

Give the plane equation of the triangle of address Triang.

◆ DeflectionOverEstimation() [1/2]

double IntCurveSurface_ThePolyhedronOfHInter::DeflectionOverEstimation ( ) const

◆ DeflectionOverEstimation() [2/2]

void IntCurveSurface_ThePolyhedronOfHInter::DeflectionOverEstimation ( const double flec)

◆ Destroy()

void IntCurveSurface_ThePolyhedronOfHInter::Destroy ( )

◆ Dump()

void IntCurveSurface_ThePolyhedronOfHInter::Dump ( ) const

◆ FillBounding()

void IntCurveSurface_ThePolyhedronOfHInter::FillBounding ( )

Compute the array of boxes. The box <n> corresponding to the triangle <n>.

◆ GetBorderDeflection()

double IntCurveSurface_ThePolyhedronOfHInter::GetBorderDeflection ( ) const
inline

This method returns a border deflection.

◆ HasUMaxSingularity()

bool IntCurveSurface_ThePolyhedronOfHInter::HasUMaxSingularity ( ) const

◆ HasUMinSingularity()

bool IntCurveSurface_ThePolyhedronOfHInter::HasUMinSingularity ( ) const

◆ HasVMaxSingularity()

bool IntCurveSurface_ThePolyhedronOfHInter::HasVMaxSingularity ( ) const

◆ HasVMinSingularity()

bool IntCurveSurface_ThePolyhedronOfHInter::HasVMinSingularity ( ) const

◆ Init() [1/2]

void IntCurveSurface_ThePolyhedronOfHInter::Init ( const occ::handle< Adaptor3d_Surface > & Surface,
const double U1,
const double V1,
const double U2,
const double V2 )
protected

◆ Init() [2/2]

void IntCurveSurface_ThePolyhedronOfHInter::Init ( const occ::handle< Adaptor3d_Surface > & Surface,
const NCollection_Array1< double > & Upars,
const NCollection_Array1< double > & Vpars )
protected

◆ IsOnBound()

bool IntCurveSurface_ThePolyhedronOfHInter::IsOnBound ( const int Index1,
const int Index2 ) const

This method returns true if the edge based on points with indices Index1 and Index2 represents a boundary edge. It is necessary to take into account the boundary deflection for this edge.

◆ NbPoints()

int IntCurveSurface_ThePolyhedronOfHInter::NbPoints ( ) const

Give the number of point in the double array of triangles ((nbdu+1)*(nbdv+1)).

◆ NbTriangles()

int IntCurveSurface_ThePolyhedronOfHInter::NbTriangles ( ) const

Give the number of triangles in this double array of.

◆ Parameters()

void IntCurveSurface_ThePolyhedronOfHInter::Parameters ( const int Index,
double & U,
double & V ) const

◆ PlaneEquation()

void IntCurveSurface_ThePolyhedronOfHInter::PlaneEquation ( const int Triang,
gp_XYZ & NormalVector,
double & PolarDistance ) const

Give the plane equation of the triangle of address Triang.

◆ Point() [1/4]

void IntCurveSurface_ThePolyhedronOfHInter::Point ( const gp_Pnt & thePnt,
const int lig,
const int col,
const double U,
const double V )

Set the value of a field of the double array of points.

◆ Point() [2/4]

const gp_Pnt & IntCurveSurface_ThePolyhedronOfHInter::Point ( const int Index) const

Give the point of index i in the MaTriangle.

◆ Point() [3/4]

const gp_Pnt & IntCurveSurface_ThePolyhedronOfHInter::Point ( const int Index,
double & U,
double & V ) const

Give the point of index i in the MaTriangle.

◆ Point() [4/4]

void IntCurveSurface_ThePolyhedronOfHInter::Point ( const int Index,
gp_Pnt & P ) const

Give the point of index i in the MaTriangle.

◆ Size()

void IntCurveSurface_ThePolyhedronOfHInter::Size ( int & nbdu,
int & nbdv ) const

get the size of the discretization.

◆ Triangle()

void IntCurveSurface_ThePolyhedronOfHInter::Triangle ( const int Index,
int & P1,
int & P2,
int & P3 ) const

Give the 3 points of the triangle of address Index in the double array of triangles.

◆ TriConnex()

int IntCurveSurface_ThePolyhedronOfHInter::TriConnex ( const int Triang,
const int Pivot,
const int Pedge,
int & TriCon,
int & OtherP ) const

Give the address Tricon of the triangle connexe to the triangle of address Triang by the edge Pivot Pedge and the third point of this connexe triangle. When we are on a free edge TriCon==0 but the function return the value of the triangle in the other side of Pivot on the free edge. Used to turn around a vertex.

◆ UMaxSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::UMaxSingularity ( const bool Sing)

◆ UMinSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::UMinSingularity ( const bool Sing)

◆ VMaxSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::VMaxSingularity ( const bool Sing)

◆ VMinSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::VMinSingularity ( const bool Sing)

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