API Reference > OdGe Classes > OdGeExtents2d Class > OdGeExtents2d Methods > OdGeExtents2d::comparingSet Method
OdGeExtents2d::comparingSet Method
Syntax
C++
void comparingSet(const OdGePoint2d& pt1, const OdGePoint2d& pt2);
Parameters 
Description 
const OdGePoint2d& pt1 
[in] First point that defines the extents.  
const OdGePoint2d& pt2 
[in] Second point that defines the extents. 

Sets the minimum and maximum points for this Extents object to that of the box defined by pt1 and pt2. 

 

The passed first and second points are only needed to define a box. The points themselves do not necessarily need to be minimum and maximum points. The coordinates of the passed points are compared and then set to real minimum and maximum points.

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