const SG_EDGE*   sgCBRepPiece::GetEdges()  const

 

Description:

Returns the poiner to the structure array of the BRep piece edges description. The total number of the edges eturned by the GetEdgesCount() function

 

Arguments:

No arguments.

 

Returned value:

Returns the index to the structure array of the BRep piece edges description.

One edge is described by the following structure:

 

typedef struct

{

 unsigned short begin_vertex_index;

 unsigned short end_vertex_index;

 unsigned short edge_type;

}    SG_EDGE;

 

begin_vertex_index - index of the first edge point in the vertexes array of the BRep piece returned by the GetVertexes function

 

end_vertex_index - – index of the second edge point in the vertexes array of the BRep piece returned by the GetVertexes function

 

edge_type - flag of the edge type. It can have the following values: SG_EDGE_1_LEVEL, SG_EDGE_2_LEVEL or SG_EDGE_3_LEVEL. . Each flag describes to which level of the object detalization the edge belongs

 

To learn more about BRep, see the sgCBRep class description

 

 

See also:

sgCBRep   sgCBRep::GetPiece sgCBRepPiece GetEdgesCount