Open CASCADE Technology 7.8.2.dev
IntPatch_PolyhedronTool Class Reference

Describe the signature of a polyhedral surface with only triangular facets and the necessary information to compute the interferences. More...

#include <IntPatch_PolyhedronTool.hxx>

Static Public Member Functions

static const Bnd_BoxBounding (const IntPatch_Polyhedron &thePolyh)
 Give the bounding box of the Polyhedron.
 
static const Handle< Bnd_HArray1OfBox > & ComponentsBounding (const IntPatch_Polyhedron &thePolyh)
 Give the array of boxes. The box <n> corresponding to the triangle <n>.
 
static Standard_Real DeflectionOverEstimation (const IntPatch_Polyhedron &thePolyh)
 Give the tolerance of the polygon.
 
static Standard_Integer NbTriangles (const IntPatch_Polyhedron &thePolyh)
 Give the number of triangles in this polyhedral surface.
 
static void Triangle (const IntPatch_Polyhedron &thePolyh, const Standard_Integer Index, Standard_Integer &P1, Standard_Integer &P2, Standard_Integer &P3)
 Give the indices of the 3 points of the triangle of address Index in the Polyhedron.
 
static const gp_PntPoint (const IntPatch_Polyhedron &thePolyh, const Standard_Integer Index)
 Give the point of index i in the polyhedral surface.
 
static Standard_Integer TriConnex (const IntPatch_Polyhedron &thePolyh, const Standard_Integer Triang, const Standard_Integer Pivot, const Standard_Integer Pedge, Standard_Integer &TriCon, Standard_Integer &OtherP)
 Gives 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.
 

Detailed Description

Describe the signature of a polyhedral surface with only triangular facets and the necessary information to compute the interferences.

Member Function Documentation

◆ Bounding()

static const Bnd_Box & IntPatch_PolyhedronTool::Bounding ( const IntPatch_Polyhedron & thePolyh)
static

Give the bounding box of the Polyhedron.

◆ ComponentsBounding()

static const Handle< Bnd_HArray1OfBox > & IntPatch_PolyhedronTool::ComponentsBounding ( const IntPatch_Polyhedron & thePolyh)
static

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

◆ DeflectionOverEstimation()

static Standard_Real IntPatch_PolyhedronTool::DeflectionOverEstimation ( const IntPatch_Polyhedron & thePolyh)
static

Give the tolerance of the polygon.

◆ NbTriangles()

static Standard_Integer IntPatch_PolyhedronTool::NbTriangles ( const IntPatch_Polyhedron & thePolyh)
static

Give the number of triangles in this polyhedral surface.

◆ Point()

static const gp_Pnt & IntPatch_PolyhedronTool::Point ( const IntPatch_Polyhedron & thePolyh,
const Standard_Integer Index )
static

Give the point of index i in the polyhedral surface.

◆ Triangle()

static void IntPatch_PolyhedronTool::Triangle ( const IntPatch_Polyhedron & thePolyh,
const Standard_Integer Index,
Standard_Integer & P1,
Standard_Integer & P2,
Standard_Integer & P3 )
static

Give the indices of the 3 points of the triangle of address Index in the Polyhedron.

◆ TriConnex()

static Standard_Integer IntPatch_PolyhedronTool::TriConnex ( const IntPatch_Polyhedron & thePolyh,
const Standard_Integer Triang,
const Standard_Integer Pivot,
const Standard_Integer Pedge,
Standard_Integer & TriCon,
Standard_Integer & OtherP )
static

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


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