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