void   sgCBRepPiece::GetTrianglesRange(int& min_numb, int& max_numb) const



Returns the minimal and maximal number of the triangle of the BRep piece from the array of all triangles in the 3D object returned by the sgC3DObject::GetTriangles() function. All triangles of the BRep piece are located in the array between these numbers



min_numb - the returned minimal number of the triangle.

max_numb - the returned maximal number of the triangle


Returned value:

No values.



See also:

sgCBRep   sgCBRep::GetPiece sgCBRepPiece GetVertexesCount