Open CASCADE Technology  7.3.0
Public Member Functions | Protected Member Functions

IntCurveSurface_ThePolyhedronOfHInter Class Reference

#include <IntCurveSurface_ThePolyhedronOfHInter.hxx>

Public Member Functions

 IntCurveSurface_ThePolyhedronOfHInter (const Handle< Adaptor3d_HSurface > &Surface, const Standard_Integer nbdU, const Standard_Integer nbdV, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
 IntCurveSurface_ThePolyhedronOfHInter (const Handle< Adaptor3d_HSurface > &Surface, const TColStd_Array1OfReal &Upars, const TColStd_Array1OfReal &Vpars)
 
void Destroy ()
 
 ~IntCurveSurface_ThePolyhedronOfHInter ()
 
void DeflectionOverEstimation (const Standard_Real flec)
 
Standard_Real DeflectionOnTriangle (const Handle< Adaptor3d_HSurface > &Surface, const Standard_Integer Index) const
 
void UMinSingularity (const Standard_Boolean Sing)
 
void UMaxSingularity (const Standard_Boolean Sing)
 
void VMinSingularity (const Standard_Boolean Sing)
 
void VMaxSingularity (const Standard_Boolean Sing)
 
void Size (Standard_Integer &nbdu, Standard_Integer &nbdv) const
 get the size of the discretization. More...
 
Standard_Integer NbTriangles () const
 Give the number of triangles in this double array of. More...
 
void Triangle (const Standard_Integer Index, Standard_Integer &P1, Standard_Integer &P2, Standard_Integer &P3) const
 Give the 3 points of the triangle of addresse Index in the double array of triangles. More...
 
Standard_Integer TriConnex (const Standard_Integer Triang, const Standard_Integer Pivot, const Standard_Integer Pedge, Standard_Integer &TriCon, Standard_Integer &OtherP) const
 Give the addresse 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. More...
 
Standard_Integer NbPoints () const
 Give the number of point in the double array of triangles ((nbdu+1)*(nbdv+1)). More...
 
void Point (const gp_Pnt &thePnt, const Standard_Integer lig, const Standard_Integer col, const Standard_Real U, const Standard_Real V)
 Set the value of a field of the double array of points. More...
 
const gp_PntPoint (const Standard_Integer Index, Standard_Real &U, Standard_Real &V) const
 Give the point of index i in the MaTriangle. More...
 
const gp_PntPoint (const Standard_Integer Index) const
 Give the point of index i in the MaTriangle. More...
 
void Point (const Standard_Integer Index, gp_Pnt &P) const
 Give the point of index i in the MaTriangle. More...
 
const Bnd_BoxBounding () const
 Give the bounding box of the MaTriangle. More...
 
void FillBounding ()
 Compute the array of boxes. The box <n> corresponding to the triangle <n>. More...
 
const Handle< Bnd_HArray1OfBox > & ComponentsBounding () const
 Give the array of boxes. The box <n> corresponding to the triangle <n>. More...
 
Standard_Real DeflectionOverEstimation () const
 
Standard_Boolean HasUMinSingularity () const
 
Standard_Boolean HasUMaxSingularity () const
 
Standard_Boolean HasVMinSingularity () const
 
Standard_Boolean HasVMaxSingularity () const
 
void PlaneEquation (const Standard_Integer Triang, gp_XYZ &NormalVector, Standard_Real &PolarDistance) const
 Give the plane equation of the triangle of addresse Triang. More...
 
Standard_Boolean Contain (const Standard_Integer Triang, const gp_Pnt &ThePnt) const
 Give the plane equation of the triangle of addresse Triang. More...
 
void Parameters (const Standard_Integer Index, Standard_Real &U, Standard_Real &V) const
 
Standard_Boolean IsOnBound (const Standard_Integer Index1, const Standard_Integer 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. More...
 
Standard_Real GetBorderDeflection () const
 This method returns a border deflection. More...
 
void Dump () const
 

Protected Member Functions

void Init (const Handle< Adaptor3d_HSurface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void Init (const Handle< Adaptor3d_HSurface > &Surface, const TColStd_Array1OfReal &Upars, const TColStd_Array1OfReal &Vpars)
 

Constructor & Destructor Documentation

◆ IntCurveSurface_ThePolyhedronOfHInter() [1/2]

IntCurveSurface_ThePolyhedronOfHInter::IntCurveSurface_ThePolyhedronOfHInter ( const Handle< Adaptor3d_HSurface > &  Surface,
const Standard_Integer  nbdU,
const Standard_Integer  nbdV,
const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2 
)

◆ IntCurveSurface_ThePolyhedronOfHInter() [2/2]

IntCurveSurface_ThePolyhedronOfHInter::IntCurveSurface_ThePolyhedronOfHInter ( const Handle< Adaptor3d_HSurface > &  Surface,
const TColStd_Array1OfReal Upars,
const TColStd_Array1OfReal 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 Handle< Bnd_HArray1OfBox >& IntCurveSurface_ThePolyhedronOfHInter::ComponentsBounding ( ) const

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

◆ Contain()

Standard_Boolean IntCurveSurface_ThePolyhedronOfHInter::Contain ( const Standard_Integer  Triang,
const gp_Pnt ThePnt 
) const

Give the plane equation of the triangle of addresse Triang.

◆ DeflectionOnTriangle()

Standard_Real IntCurveSurface_ThePolyhedronOfHInter::DeflectionOnTriangle ( const Handle< Adaptor3d_HSurface > &  Surface,
const Standard_Integer  Index 
) const

◆ DeflectionOverEstimation() [1/2]

void IntCurveSurface_ThePolyhedronOfHInter::DeflectionOverEstimation ( const Standard_Real  flec)

◆ DeflectionOverEstimation() [2/2]

Standard_Real IntCurveSurface_ThePolyhedronOfHInter::DeflectionOverEstimation ( ) const

◆ 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()

Standard_Real IntCurveSurface_ThePolyhedronOfHInter::GetBorderDeflection ( ) const

This method returns a border deflection.

◆ HasUMaxSingularity()

Standard_Boolean IntCurveSurface_ThePolyhedronOfHInter::HasUMaxSingularity ( ) const

◆ HasUMinSingularity()

Standard_Boolean IntCurveSurface_ThePolyhedronOfHInter::HasUMinSingularity ( ) const

◆ HasVMaxSingularity()

Standard_Boolean IntCurveSurface_ThePolyhedronOfHInter::HasVMaxSingularity ( ) const

◆ HasVMinSingularity()

Standard_Boolean IntCurveSurface_ThePolyhedronOfHInter::HasVMinSingularity ( ) const

◆ Init() [1/2]

void IntCurveSurface_ThePolyhedronOfHInter::Init ( const Handle< Adaptor3d_HSurface > &  Surface,
const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2 
)
protected

◆ Init() [2/2]

void IntCurveSurface_ThePolyhedronOfHInter::Init ( const Handle< Adaptor3d_HSurface > &  Surface,
const TColStd_Array1OfReal Upars,
const TColStd_Array1OfReal Vpars 
)
protected

◆ IsOnBound()

Standard_Boolean IntCurveSurface_ThePolyhedronOfHInter::IsOnBound ( const Standard_Integer  Index1,
const Standard_Integer  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()

Standard_Integer IntCurveSurface_ThePolyhedronOfHInter::NbPoints ( ) const

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

◆ NbTriangles()

Standard_Integer IntCurveSurface_ThePolyhedronOfHInter::NbTriangles ( ) const

Give the number of triangles in this double array of.

◆ Parameters()

void IntCurveSurface_ThePolyhedronOfHInter::Parameters ( const Standard_Integer  Index,
Standard_Real U,
Standard_Real V 
) const

◆ PlaneEquation()

void IntCurveSurface_ThePolyhedronOfHInter::PlaneEquation ( const Standard_Integer  Triang,
gp_XYZ NormalVector,
Standard_Real PolarDistance 
) const

Give the plane equation of the triangle of addresse Triang.

◆ Point() [1/4]

void IntCurveSurface_ThePolyhedronOfHInter::Point ( const gp_Pnt thePnt,
const Standard_Integer  lig,
const Standard_Integer  col,
const Standard_Real  U,
const Standard_Real  V 
)

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

◆ Point() [2/4]

const gp_Pnt& IntCurveSurface_ThePolyhedronOfHInter::Point ( const Standard_Integer  Index,
Standard_Real U,
Standard_Real V 
) const

Give the point of index i in the MaTriangle.

◆ Point() [3/4]

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

Give the point of index i in the MaTriangle.

◆ Point() [4/4]

void IntCurveSurface_ThePolyhedronOfHInter::Point ( const Standard_Integer  Index,
gp_Pnt P 
) const

Give the point of index i in the MaTriangle.

◆ Size()

void IntCurveSurface_ThePolyhedronOfHInter::Size ( Standard_Integer nbdu,
Standard_Integer nbdv 
) const

get the size of the discretization.

◆ Triangle()

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

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

◆ TriConnex()

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

Give the addresse 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 Standard_Boolean  Sing)

◆ UMinSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::UMinSingularity ( const Standard_Boolean  Sing)

◆ VMaxSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::VMaxSingularity ( const Standard_Boolean  Sing)

◆ VMinSingularity()

void IntCurveSurface_ThePolyhedronOfHInter::VMinSingularity ( const Standard_Boolean  Sing)

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