API Reference > FacetModeler Namespace > Classes > Profile2D Class > Profile2D Methods > fit Method > Profile2D::fit Method (OdGeExtents2d&, DeviationParams&)
Profile2D::fit Method (OdGeExtents2d&, DeviationParams&)
Syntax
C++
void fit(const OdGeExtents2d& extBoundingBox, const DeviationParams& devDeviation = FMGeGbl::gDefDev);
Parameters 
Description 
const OdGeExtents2d& extBoundingBox 
[in] Bounding box to fit in.  
const DeviationParams& devDeviation = FMGeGbl::gDefDev 
[in] Deviation parameters. 

Adjusts the profile to a bounding box extents. 

 

Copyright © 2002-2020. Open Design Alliance. All rights reserved.