The class represents the triangle built from three IntPolyh points and three IntPolyh edges.  
 More...
 | 
|   | IntPolyh_Triangle () | 
|   | Constructor.  
  | 
|   | 
|   | IntPolyh_Triangle (const Standard_Integer thePoint1, const Standard_Integer thePoint2, const Standard_Integer thePoint3) | 
|   | Constructor.  
  | 
|   | 
| Standard_Integer  | FirstPoint () const | 
|   | Returns the first point.  
  | 
|   | 
| Standard_Integer  | SecondPoint () const | 
|   | Returns the second point.  
  | 
|   | 
| Standard_Integer  | ThirdPoint () const | 
|   | Returns the third point.  
  | 
|   | 
| Standard_Integer  | FirstEdge () const | 
|   | Returns the first edge.  
  | 
|   | 
| Standard_Integer  | FirstEdgeOrientation () const | 
|   | Returns the orientation of the first edge.  
  | 
|   | 
| Standard_Integer  | SecondEdge () const | 
|   | Returns the second edge.  
  | 
|   | 
| Standard_Integer  | SecondEdgeOrientation () const | 
|   | Returns the orientation of the second edge.  
  | 
|   | 
| Standard_Integer  | ThirdEdge () const | 
|   | Returns the third edge.  
  | 
|   | 
| Standard_Integer  | ThirdEdgeOrientation () const | 
|   | Returns the orientation of the third edge.  
  | 
|   | 
| Standard_Real  | Deflection () const | 
|   | Returns the deflection of the triangle.  
  | 
|   | 
| Standard_Boolean  | IsIntersectionPossible () const | 
|   | Returns possibility of the intersection.  
  | 
|   | 
| Standard_Boolean  | HasIntersection () const | 
|   | Returns true if the triangle has interfered the other triangle.  
  | 
|   | 
| Standard_Boolean  | IsDegenerated () const | 
|   | Returns the Degenerated flag.  
  | 
|   | 
| void  | SetFirstPoint (const Standard_Integer thePoint) | 
|   | Sets the first point.  
  | 
|   | 
| void  | SetSecondPoint (const Standard_Integer thePoint) | 
|   | Sets the second point.  
  | 
|   | 
| void  | SetThirdPoint (const Standard_Integer thePoint) | 
|   | Sets the third point.  
  | 
|   | 
| void  | SetFirstEdge (const Standard_Integer theEdge, const Standard_Integer theEdgeOrientation) | 
|   | Sets the first edge.  
  | 
|   | 
| void  | SetSecondEdge (const Standard_Integer theEdge, const Standard_Integer theEdgeOrientation) | 
|   | Sets the second edge.  
  | 
|   | 
| void  | SetThirdEdge (const Standard_Integer theEdge, const Standard_Integer theEdgeOrientation) | 
|   | Sets the third edge.  
  | 
|   | 
| void  | SetDeflection (const Standard_Real theDeflection) | 
|   | Sets the deflection.  
  | 
|   | 
| void  | SetIntersectionPossible (const Standard_Boolean theIP) | 
|   | Sets the flag of possibility of intersection.  
  | 
|   | 
| void  | SetIntersection (const Standard_Boolean theInt) | 
|   | Sets the flag of intersection.  
  | 
|   | 
| void  | SetDegenerated (const Standard_Boolean theDegFlag) | 
|   | Sets the degenerated flag.  
  | 
|   | 
| Standard_Integer  | GetEdgeNumber (const Standard_Integer theEdgeIndex) const | 
|   | Gets the edge number by the index.  
  | 
|   | 
| void  | SetEdge (const Standard_Integer theEdgeIndex, const Standard_Integer theEdgeNumber) | 
|   | Sets the edge by the index.  
  | 
|   | 
| Standard_Integer  | GetEdgeOrientation (const Standard_Integer theEdgeIndex) const | 
|   | Gets the edges orientation by the index.  
  | 
|   | 
| void  | SetEdgeOrientation (const Standard_Integer theEdgeIndex, const Standard_Integer theEdgeOrientation) | 
|   | Sets the edges orientation by the index.  
  | 
|   | 
| Standard_Real  | ComputeDeflection (const Handle< Adaptor3d_Surface > &theSurface, const IntPolyh_ArrayOfPoints &thePoints) | 
|   | Computes the deflection for the triangle.  
  | 
|   | 
| Standard_Integer  | GetNextTriangle (const Standard_Integer theTriangle, const Standard_Integer theEdgeNum, const IntPolyh_ArrayOfEdges &TEdges) const | 
|   | Gets the adjacent triangle.  
  | 
|   | 
| void  | MiddleRefinement (const Standard_Integer theTriangleNumber, const Handle< Adaptor3d_Surface > &theSurface, IntPolyh_ArrayOfPoints &TPoints, IntPolyh_ArrayOfTriangles &TTriangles, IntPolyh_ArrayOfEdges &TEdges) | 
|   | Splits the triangle on two to decrease its deflection.  
  | 
|   | 
| void  | MultipleMiddleRefinement (const Standard_Real theRefineCriterion, const Bnd_Box &theBox, const Standard_Integer theTriangleNumber, const Handle< Adaptor3d_Surface > &theSurface, IntPolyh_ArrayOfPoints &TPoints, IntPolyh_ArrayOfTriangles &TTriangles, IntPolyh_ArrayOfEdges &TEdges) | 
|   | Splits the current triangle and new triangles until the refinement criterion is not achieved.  
  | 
|   | 
| void  | LinkEdges2Triangle (const IntPolyh_ArrayOfEdges &TEdges, const Standard_Integer theEdge1, const Standard_Integer theEdge2, const Standard_Integer theEdge3) | 
|   | Links edges to triangle.  
  | 
|   | 
| void  | SetEdgeAndOrientation (const IntPolyh_Edge &theEdge, const Standard_Integer theEdgeIndex) | 
|   | Sets the appropriate edge and orientation for the triangle.  
  | 
|   | 
| const Bnd_Box &  | BoundingBox (const IntPolyh_ArrayOfPoints &thePoints) | 
|   | Returns the bounding box of the triangle.  
  | 
|   | 
| void  | Dump (const Standard_Integer v) const | 
|   | Dumps the contents of the triangle.  
  | 
|   | 
The class represents the triangle built from three IntPolyh points and three IntPolyh edges.