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_Pnt & | Point (const int Index, double &U, double &V) const |
| Give the point of index i in the MaTriangle. | |
| const gp_Pnt & | Point (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_Box & | Bounding () 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 |
This class provides a linear approximation of the PSurface. preview a constructor on a zone of a surface.
| 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::IntPatch_Polyhedron | ( | const occ::handle< Adaptor3d_Surface > & | Surface | ) |
|
inline |
| const Bnd_Box & IntPatch_Polyhedron::Bounding | ( | ) | const |
Give the bounding box of the MaTriangle.
| const occ::handle< NCollection_HArray1< Bnd_Box > > & IntPatch_Polyhedron::ComponentsBounding | ( | ) | const |
Give the array of boxes. The box <n> corresponding to the triangle <n>.
| bool IntPatch_Polyhedron::Contain | ( | const int | Triang, |
| const gp_Pnt & | ThePnt ) const |
Give the plane equation of the triangle of address Triang.
| double IntPatch_Polyhedron::DeflectionOverEstimation | ( | ) | const |
| void IntPatch_Polyhedron::DeflectionOverEstimation | ( | const double | flec | ) |
| void IntPatch_Polyhedron::Destroy | ( | ) |
| void IntPatch_Polyhedron::Dump | ( | ) | const |
| void IntPatch_Polyhedron::FillBounding | ( | ) |
Compute the array of boxes. The box <n> corresponding to the triangle <n>.
| bool IntPatch_Polyhedron::HasUMaxSingularity | ( | ) | const |
| bool IntPatch_Polyhedron::HasUMinSingularity | ( | ) | const |
| bool IntPatch_Polyhedron::HasVMaxSingularity | ( | ) | const |
| bool IntPatch_Polyhedron::HasVMinSingularity | ( | ) | const |
| int IntPatch_Polyhedron::NbPoints | ( | ) | const |
Give the number of point in the double array of triangles ((nbdu+1)*(nbdv+1)).
| int IntPatch_Polyhedron::NbTriangles | ( | ) | const |
Give the number of triangles in this double array of triangles (nbdu*nbdv*2).
| void IntPatch_Polyhedron::Parameters | ( | const int | Index, |
| double & | U, | ||
| double & | V ) const |
| void IntPatch_Polyhedron::Perform | ( | const occ::handle< Adaptor3d_Surface > & | Surface, |
| const int | nbdU, | ||
| const int | nbdV ) |
| void IntPatch_Polyhedron::PlaneEquation | ( | const int | Triang, |
| gp_XYZ & | NormalVector, | ||
| double & | PolarDistance ) const |
Give the plane equation of the triangle of address Triang.
| 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.
| const gp_Pnt & IntPatch_Polyhedron::Point | ( | const int | Index | ) | const |
Give the point of index i in the MaTriangle.
| const gp_Pnt & IntPatch_Polyhedron::Point | ( | const int | Index, |
| double & | U, | ||
| double & | V ) const |
Give the point of index i in the MaTriangle.
Give the point of index i in the MaTriangle.
| void IntPatch_Polyhedron::Size | ( | int & | nbdu, |
| int & | nbdv ) const |
Get the size of the MaTriangle.
| 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.
| 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.
| void IntPatch_Polyhedron::UMaxSingularity | ( | const bool | Sing | ) |
| void IntPatch_Polyhedron::UMinSingularity | ( | const bool | Sing | ) |
| void IntPatch_Polyhedron::VMaxSingularity | ( | const bool | Sing | ) |
| void IntPatch_Polyhedron::VMinSingularity | ( | const bool | Sing | ) |