API Reference > OdDb Classes > OdDb3dProfile Class > OdDb3dProfile Methods > OdDb3dProfile::mergeProfiles Method
OdDb3dProfile::mergeProfiles Method
Syntax
C++
static OdResult mergeProfiles(const OdArray<OdDb3dProfile*>& profileArr, bool mergeEdges, bool mergeCurves, OdArray<OdDb3dProfile*>& mergedProfileArr);
Parameters 
Description 
const OdArray<OdDb3dProfile*>& profileArr 
[in] Input array of profiles that are to be merged.  
bool mergeEdges 
[in] If this parameter is false then any edge profiles in the input array will not be merged and will be copied directly to the ouput array.  
bool mergeCurves 
[in] If this parameter is false then any curve profiles in the input array will not be merged and will be copied directly to the ouput array.  
OdArray<OdDb3dProfile*>& mergedProfileArr 
[out] Output array of merged profiles. The caller is responsible for deleting all objects that are returned in this array.  

eOk if successful.

Merges connected sets of profiles into one or more profiles 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.