Describes a component triangle of a triangulation (Poly_Triangulation object). A Triangle is defined by a triplet of nodes within [1, Poly_Triangulation::NbNodes()] range. Each node is an index in the table of nodes specific to an existing triangulation of a shape, and represents a point on the surface.  
 More...
#include <Poly_Triangle.hxx>
|  | 
|  | Poly_Triangle () | 
|  | Constructs a triangle and sets all indices to zero.  More... 
 | 
|  | 
|  | Poly_Triangle (const Standard_Integer theN1, const Standard_Integer theN2, const Standard_Integer theN3) | 
|  | Constructs a triangle and sets its three indices, where these node values are indices in the table of nodes specific to an existing triangulation of a shape.  More... 
 | 
|  | 
| void | Set (const Standard_Integer theN1, const Standard_Integer theN2, const Standard_Integer theN3) | 
|  | Sets the value of the three nodes of this triangle.  More... 
 | 
|  | 
| void | Set (const Standard_Integer theIndex, const Standard_Integer theNode) | 
|  | Sets the value of node with specified index of this triangle. Raises Standard_OutOfRange if index is not in 1,2,3.  More... 
 | 
|  | 
| void | Get (Standard_Integer &theN1, Standard_Integer &theN2, Standard_Integer &theN3) const | 
|  | Returns the node indices of this triangle.  More... 
 | 
|  | 
| Standard_Integer | Value (const Standard_Integer theIndex) const | 
|  | Get the node of given Index. Raises OutOfRange from Standard if Index is not in 1,2,3.  More... 
 | 
|  | 
| Standard_Integer | operator() (const Standard_Integer Index) const | 
|  | 
| Standard_Integer & | ChangeValue (const Standard_Integer theIndex) | 
|  | Get the node of given Index. Raises OutOfRange if Index is not in 1,2,3.  More... 
 | 
|  | 
| Standard_Integer & | operator() (const Standard_Integer Index) | 
|  | 
Describes a component triangle of a triangulation (Poly_Triangulation object). A Triangle is defined by a triplet of nodes within [1, Poly_Triangulation::NbNodes()] range. Each node is an index in the table of nodes specific to an existing triangulation of a shape, and represents a point on the surface. 
◆ Poly_Triangle() [1/2]
  
  | 
        
          | Poly_Triangle::Poly_Triangle | ( |  | ) |  |  | inline | 
 
Constructs a triangle and sets all indices to zero. 
 
 
◆ Poly_Triangle() [2/2]
Constructs a triangle and sets its three indices, where these node values are indices in the table of nodes specific to an existing triangulation of a shape. 
 
 
◆ ChangeValue()
Get the node of given Index. Raises OutOfRange if Index is not in 1,2,3. 
 
 
◆ Get()
Returns the node indices of this triangle. 
 
 
◆ operator()() [1/2]
◆ operator()() [2/2]
◆ Set() [1/2]
Sets the value of the three nodes of this triangle. 
 
 
◆ Set() [2/2]
Sets the value of node with specified index of this triangle. Raises Standard_OutOfRange if index is not in 1,2,3. 
 
 
◆ Value()
Get the node of given Index. Raises OutOfRange from Standard if Index is not in 1,2,3. 
 
 
◆ myNodes
The documentation for this class was generated from the following file: