SHAPER  9.12.0
GeomAlgoAPI_CompoundBuilder Class Reference

Allows to create face-shapes by different parameters. More...

Static Public Member Functions

static std::shared_ptr< GeomAPI_Shapecompound (std::list< std::shared_ptr< GeomAPI_Shape > > theShapes)
 Creates compund of the given shapes. More...
 
static int id (std::shared_ptr< GeomAPI_Shape > theContext, std::shared_ptr< GeomAPI_Shape > theSub)
 Produces the integerr identifier of the shape theSub in theContext (needed for groups export to old GEOM) More...
 

Detailed Description

Allows to create face-shapes by different parameters.

Member Function Documentation

◆ compound()

std::shared_ptr< GeomAPI_Shape > GeomAlgoAPI_CompoundBuilder::compound ( std::list< std::shared_ptr< GeomAPI_Shape > >  theShapes)
static

Creates compund of the given shapes.

Parameters
theShapesa list of shapes

◆ id()

int GeomAlgoAPI_CompoundBuilder::id ( std::shared_ptr< GeomAPI_Shape theContext,
std::shared_ptr< GeomAPI_Shape theSub 
)
static

Produces the integerr identifier of the shape theSub in theContext (needed for groups export to old GEOM)

Returns
zero if theSub not found in theContext