Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
IntPatch_Polyhedron Class Reference

This class provides a linear approximation of the PSurface. preview a constructor on a zone of a surface. More...

#include <IntPatch_Polyhedron.hxx>

Public Member Functions

 IntPatch_Polyhedron (const occ::handle< Adaptor3d_Surface > &Surface, const int nbdU, const int nbdV)
 MaTriangle constructor with an double array of pnt for the representation of a double array of triangles.
 
 IntPatch_Polyhedron (const occ::handle< Adaptor3d_Surface > &Surface)
 
void Destroy ()
 
 ~IntPatch_Polyhedron ()
 
void Perform (const occ::handle< Adaptor3d_Surface > &Surface, const int nbdU, const int nbdV)
 
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 MaTriangle.
 
int NbTriangles () const
 Give the number of triangles in this double array of triangles (nbdu*nbdv*2).
 
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
 
void Dump () const
 

Detailed Description

This class provides a linear approximation of the PSurface. preview a constructor on a zone of a surface.

Constructor & Destructor Documentation

◆ IntPatch_Polyhedron() [1/2]

IntPatch_Polyhedron::IntPatch_Polyhedron ( const occ::handle< Adaptor3d_Surface > & Surface,
const int nbdU,
const int nbdV )

MaTriangle constructor with an double array of pnt for the representation of a double array of triangles.

◆ IntPatch_Polyhedron() [2/2]

IntPatch_Polyhedron::IntPatch_Polyhedron ( const occ::handle< Adaptor3d_Surface > & Surface)

◆ ~IntPatch_Polyhedron()

IntPatch_Polyhedron::~IntPatch_Polyhedron ( )
inline

Member Function Documentation

◆ Bounding()

const Bnd_Box & IntPatch_Polyhedron::Bounding ( ) const

Give the bounding box of the MaTriangle.

◆ ComponentsBounding()

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

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

◆ Contain()

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

Give the plane equation of the triangle of address Triang.

◆ DeflectionOverEstimation() [1/2]

double IntPatch_Polyhedron::DeflectionOverEstimation ( ) const

◆ DeflectionOverEstimation() [2/2]

void IntPatch_Polyhedron::DeflectionOverEstimation ( const double flec)

◆ Destroy()

void IntPatch_Polyhedron::Destroy ( )

◆ Dump()

void IntPatch_Polyhedron::Dump ( ) const

◆ FillBounding()

void IntPatch_Polyhedron::FillBounding ( )

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

◆ HasUMaxSingularity()

bool IntPatch_Polyhedron::HasUMaxSingularity ( ) const

◆ HasUMinSingularity()

bool IntPatch_Polyhedron::HasUMinSingularity ( ) const

◆ HasVMaxSingularity()

bool IntPatch_Polyhedron::HasVMaxSingularity ( ) const

◆ HasVMinSingularity()

bool IntPatch_Polyhedron::HasVMinSingularity ( ) const

◆ NbPoints()

int IntPatch_Polyhedron::NbPoints ( ) const

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

◆ NbTriangles()

int IntPatch_Polyhedron::NbTriangles ( ) const

Give the number of triangles in this double array of triangles (nbdu*nbdv*2).

◆ Parameters()

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

◆ Perform()

void IntPatch_Polyhedron::Perform ( const occ::handle< Adaptor3d_Surface > & Surface,
const int nbdU,
const int nbdV )

◆ PlaneEquation()

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

Give the plane equation of the triangle of address Triang.

◆ Point() [1/4]

void IntPatch_Polyhedron::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 & IntPatch_Polyhedron::Point ( const int Index) const

Give the point of index i in the MaTriangle.

◆ Point() [3/4]

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

Give the point of index i in the MaTriangle.

◆ Point() [4/4]

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

Give the point of index i in the MaTriangle.

◆ Size()

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

Get the size of the MaTriangle.

◆ Triangle()

void IntPatch_Polyhedron::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 IntPatch_Polyhedron::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 IntPatch_Polyhedron::UMaxSingularity ( const bool Sing)

◆ UMinSingularity()

void IntPatch_Polyhedron::UMinSingularity ( const bool Sing)

◆ VMaxSingularity()

void IntPatch_Polyhedron::VMaxSingularity ( const bool Sing)

◆ VMinSingularity()

void IntPatch_Polyhedron::VMinSingularity ( const bool Sing)

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