API Reference > Other Classes > OdAbstractViewPE Class > OdAbstractViewPE Methods > OdAbstractViewPE::zoomExtents Method
OdAbstractViewPE::zoomExtents Method
Syntax
C++
virtual bool zoomExtents(OdRxObject* pViewport, const OdGeBoundBlock3d* pExtents = 0, double extCoef = 1.02) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Pointer to the Viewport object.  
const OdGeBoundBlock3d* pExtents = 0 
[in] Pointer to the extents.  
double extCoef = 1.02 
[in] Optional extents multiplier. 

Returns true if and only if the extents are defined.

Modifies the specified Viewport object to fit the specified eye coordinate system extents. 

 

If pExtents is null, this function calls viewExtents() to determine the extents.

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