sgCBRepPiece*   sgCBRep::GetPiece(unsigned int nmbr) const



Returns a BRep piece according to its number. The total number of pieces is returned by the GetPiecesCount() function



nmbr - number of BRep piece.


Returned value:

Returns the pointer to the sgCBRepPiece class object according to its number. To learn more about BRep, see the sgCBRep class description



See also:

sgCBRep   sgCBRep::GetPiecesCount sgCBRepPiece