The class represents the triangle built from three IntPolyh points and three IntPolyh edges.
More...
|
| | IntPolyh_Triangle () |
| | Constructor.
|
| |
| | IntPolyh_Triangle (const int thePoint1, const int thePoint2, const int thePoint3) |
| | Constructor.
|
| |
| int | FirstPoint () const |
| | Returns the first point.
|
| |
| int | SecondPoint () const |
| | Returns the second point.
|
| |
| int | ThirdPoint () const |
| | Returns the third point.
|
| |
| int | FirstEdge () const |
| | Returns the first edge.
|
| |
| int | FirstEdgeOrientation () const |
| | Returns the orientation of the first edge.
|
| |
| int | SecondEdge () const |
| | Returns the second edge.
|
| |
| int | SecondEdgeOrientation () const |
| | Returns the orientation of the second edge.
|
| |
| int | ThirdEdge () const |
| | Returns the third edge.
|
| |
| int | ThirdEdgeOrientation () const |
| | Returns the orientation of the third edge.
|
| |
| double | Deflection () const |
| | Returns the deflection of the triangle.
|
| |
| bool | IsIntersectionPossible () const |
| | Returns possibility of the intersection.
|
| |
| bool | HasIntersection () const |
| | Returns true if the triangle has interfered the other triangle.
|
| |
| bool | IsDegenerated () const |
| | Returns the Degenerated flag.
|
| |
| void | SetFirstPoint (const int thePoint) |
| | Sets the first point.
|
| |
| void | SetSecondPoint (const int thePoint) |
| | Sets the second point.
|
| |
| void | SetThirdPoint (const int thePoint) |
| | Sets the third point.
|
| |
| void | SetFirstEdge (const int theEdge, const int theEdgeOrientation) |
| | Sets the first edge.
|
| |
| void | SetSecondEdge (const int theEdge, const int theEdgeOrientation) |
| | Sets the second edge.
|
| |
| void | SetThirdEdge (const int theEdge, const int theEdgeOrientation) |
| | Sets the third edge.
|
| |
| void | SetDeflection (const double theDeflection) |
| | Sets the deflection.
|
| |
| void | SetIntersectionPossible (const bool theIP) |
| | Sets the flag of possibility of intersection.
|
| |
| void | SetIntersection (const bool theInt) |
| | Sets the flag of intersection.
|
| |
| void | SetDegenerated (const bool theDegFlag) |
| | Sets the degenerated flag.
|
| |
| int | GetEdgeNumber (const int theEdgeIndex) const |
| | Gets the edge number by the index.
|
| |
| void | SetEdge (const int theEdgeIndex, const int theEdgeNumber) |
| | Sets the edge by the index.
|
| |
| int | GetEdgeOrientation (const int theEdgeIndex) const |
| | Gets the edges orientation by the index.
|
| |
| void | SetEdgeOrientation (const int theEdgeIndex, const int theEdgeOrientation) |
| | Sets the edges orientation by the index.
|
| |
| double | ComputeDeflection (const occ::handle< Adaptor3d_Surface > &theSurface, const IntPolyh_ArrayOfPoints &thePoints) |
| | Computes the deflection for the triangle.
|
| |
| int | GetNextTriangle (const int theTriangle, const int theEdgeNum, const IntPolyh_ArrayOfEdges &TEdges) const |
| | Gets the adjacent triangle.
|
| |
| void | MiddleRefinement (const int theTriangleNumber, const occ::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 double theRefineCriterion, const Bnd_Box &theBox, const int theTriangleNumber, const occ::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 int theEdge1, const int theEdge2, const int theEdge3) |
| | Links edges to triangle.
|
| |
| void | SetEdgeAndOrientation (const IntPolyh_Edge &theEdge, const int 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 int v) const |
| | Dumps the contents of the triangle.
|
| |
The class represents the triangle built from three IntPolyh points and three IntPolyh edges.